+ Start a Discussion

Visualforce Markup for Default Account Page

I am more or less happy with the Account page layout I created through the page layout editor (Setup >> Customize >> Accounts >> Page Layout) - however, I'd like to either insert a Visualforce page inline with that layout, or Clone that page layout into a fresh Visualforce page I can edit. Is there any way to do this without writing the entire visualforce markup for that page layout from scratch?

Best Answer chosen by Admin (Salesforce Developers) 
Always ThinkinAlways Thinkin

Hi Etess,

The <apex:detail> component exactly duplicates your object layout but not one on which you can then make custom edits to the layout which is what I assume you're seeking. However, if you just want to insert that Account layout into another Visualforce page that contains its own custom layout while retaining the exact Account page layout, then this is the tag for you!