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
UrvikUrvik 

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
UrvikUrvik
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
Hi,

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

Check the below links with example.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_dynamic_vf_field_sets.htm
http://forceguru.blogspot.in/2011/02/using-field-set-on-visual-force-page.html