function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bryn JonesBryn Jones 

Embedding Other SF Pages

How is it best to embed another Salesforce Page in my Visualforce page that will automatically adjust its height to fit the the contents of the page being embedded.

Iframe doesns't support it nor does embed (which uses anoyying scrollbars!)

Is there an alternative solution??

Bryn
Satish_SFDCSatish_SFDC
There is an apex:detail tag.
However it is best to use a standard controller of the object of the standard SF page and manually insert the fields into the VF Page. This way the height and width is automatically taken care of.
Iframe has some security concerns as well.

Regards,
Satish Kumar