You need to sign in to do that
Don't have an account?
The Knight
Is there a way to show the standard edit page layout in VF
Like apex:detail, apex:listViews, is there a way to open a standard edit page layout in the visualforce page. we are planning to use satndar layouts without the standard header and with little customization. Any help would be appreciated.
Thanks in advance
Joseph
Hello Knight;
You can do as below.
You need not to have controller methods. VisualForce has a default edit() method.
Note :- However in order to use this you should have an valid Opportunity Id parameter in your URL.
<apex:page standardController="Opportunity">
<apex:form>
<apex:commandButton value="Edit" action="{!edit}"/>
</apex:form>
</apex:page>
Hi,
As of now, there is no way to dynamically pull in edit page for a record just like we can do for detail page. You will have to write the code for each field.
Please do vote for the idea to include component for dynamically pulling the edit page.
Link