O'Reilly logo

Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition by Jason Ouellette

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Page Layouts

A Visualforce page can be embedded in an object’s page layout alongside its fields. Figure 6.9 shows a new section called My Section, defined using the page layout editor. My Page is the name of a Visualforce page that has been dragged into My Section and is now visible whenever a record of that object is viewed or edited.

Image

Figure 6.9 Adding a Visualforce page to page layout

The result of adding the Visualforce page called My Page to the layout for the Contact object is shown in Figure 6.10. The text “Hello Visualforce” is being rendered by the Visualforce page embedded within the record’s detail page.

Figure 6.10 Embedded Visualforce ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required