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

Embed Edit Pagelayout in a VF page

I've seen lots of pages asking about embedding a VF to the standard Edit Page layout (not supported).


I'm looking at maybe doing the opposite. I would like to be able to have a visualforce page that I can embed the standard Edit layout for that object.


I know we can use apex detail to display the Detail page - but of course if they click edit it takes them to the standard page layout. I've thought I could use an Iframe to display the edit page, but then I get all the sidebar and headers (ick).


I'm hoping this is possible so I don't have to re-create the standard edit layout verbatim just to be able to add some VF functionalty to the Edit page... or have to go back and update the page each time we add a field or update the page layout for all our profile groups.


Hello Brian,


I'm wondering, did you ever gain insight on doing this?