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
sk kumarsk kumar 

any one plz reply urgent code for.. how to creare vfpage for new/edit actions ..so that it overide the standard policy of new & edit button...urgent plz reply thnx

plz reply me the code
Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)

You can do somthing like :
<apex:page standardController="Account" extensions="AccountExtController">
      <!--  your new record creation code goes here -->
</apex:page>

For more information please refer https://help.salesforce.com/HTViewHelpDoc?id=links_customize_override.htm&language=en_US


Thanks,
N.J
Gopal RathoreGopal Rathore
Hi sk kumar,
Do you wanna vf page for create new record or update record?
om guptaom gupta
hi you have to create one vf page having standardcontroller for which you want to apply . for example you want to override contact then you have to make page 
<apex:page standardcontroller="contact" extensions="mycontroller">
     <!--- your code -->
</page>
go to the contact button and link and select the button you want to over ride for now case is new /edit, click edit on new buttonn and select override option then your page will be shown. for more information see this link:-
http://help.skuidify.com/m/getting-started/l/102648-override-a-standard-salesforce-detail-page-layout