The standard 'Edit' Button on the detail page of a record has been overridden and routes to a VisualForce Page. I want another 'Edit' button (in addition to the existing one) that allows me to edit the record from the detail page itself. This is the standard 'Edit' functionality. How do I create another button for this?

2 Answers 2


To revert the old button, you will want to go to Setup -> Create -> Opportunity -> Buttons, Links, and Actions. Then just make sure the override is turned off.

enter image description here

To add a new Button, you would follow the same path, but instead click New Button or Link.

enter image description here

Then just make sure your Content Source is Visualforce Page.

  • I don't want to revert the existing button. Instead I want to create another 'Edit' button which does the same thing.
    – Aditi
    Feb 12, 2015 at 23:52
  • My question answers that also.
    – Adrian Larson
    Feb 12, 2015 at 23:53
  • @Aditi - Are you able to provide additional details as to why you wouldn't want to revert the existing button and create a custom button? That may help with the answers.
    – Bigears
    Sep 23, 2016 at 14:33
  • Eh? I never said anything about what you would or wouldn't want to do anything, just how. I don't understand how that's relevant?
    – Adrian Larson
    Sep 23, 2016 at 14:36

You could create another Edit button with onclick Javascript:

window.top.location = '/{$ObjectType.YourObject__c}/e?nooverride=1';

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .