Does anyone know if it is possible to embed in edit mode a standard page layout in a visualforce page (in edit mode)?

I've also tried the opposite, embed a visualforce page into an standard page layout, but it does not show de VF while editing, just in view mode.

Thanks in advance

1 Answer 1


As an alternative to using standard page layouts, you can use FieldSets. You can create several field sets and have your controller fetch the correct one with similar criteria as the page layouts. You can then use the field set to dynamically render your page. Basically, you will use an <apex:repeat> paired with <apex:pageBlockSecions> in order to simulate a Page Layout. (Not quite the same thing, but the closest I've found so far.)

  • Thanks dphil. But in this particular case, I've tried the approach you suggested, and it doesn't make the treak for me :)
    – nocovi
    Commented Feb 17, 2014 at 11:23
  • Yea, it is only useful in some cases, but still probably worth knowing as an option.
    – dphil
    Commented Mar 17, 2014 at 13:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .