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
etessetess 

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!