O'Reilly logo

Visualforce Development Cookbook by Keir Bowden

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

Refreshing record details from embedded Visualforce

A Visualforce page can be embedded into a standard or custom sObject record view page, providing the standard controller for the sObject type manages it. This technique is often used to allow information to be added to a record or its related lists without leaving the view page. The Visualforce page is embedded in the record view page using an iframe. This means that returning a page reference to send the user to the record view page after an update results in the entire record view page being displayed inside the iframe, as shown in the following screenshot:

Refreshing record details from embedded Visualforce

In this recipe, we will create a 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