+ Start a Discussion

Override Edit Button

Is there an easy wasy to override edit button using visualforce page? Currently I have mentioned all the fields I want to display on my visualforce page. I am looking for an easy way so that it can be maintained using the standard page layouts. e.g. override tab view - https://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_tabs.htm
Michael VerhovskiMichael Verhovski
It is possible. For example
Click on Customize > Contacts > Buttons and Links, and click to Edit.
Choose to Override with your visualforce page and then click Save
Hey Michael. My questions is, is there an easy way to write a visualforce page rather than mentioning each field on the page. I would like to call fields on my vfp from the standard page layout. sorry for the confusion. I already know the suggestion you gave me. :-)
Jen BennettJen Bennett
 I believe you are looking for the apex:detail tag.
Anoop yadavAnoop yadav

I think you are looking for FieldSet. With this you can easily maintain the Visualforce page.

Check the below links with example.