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
Edwin VijayEdwin Vijay 

How to recreate a standard New/Edit page in Visualforce

I see there is a <apex:detail> tag to use the detail page layout of an object. But is there a way to access the New/Edit page as well???

I want to use the existing page layout  and not manually define each field in the visualforce page.

Any help is highly appreciated.
Gooch ForeverGooch Forever
Hi

You can Edit by Inline option by using inlineEdit="true" OR put all your required fields to fieldset for mass edit.