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
Victoria UkatuVictoria Ukatu 

How to Edit a Custom Button

Hi, sorry this is kind of a basic question, but I can't find the answer to it: How do you edit a button that has already been created? For example, if there's a custom button on an Accounts record page or Opportunities record page that a previous developer on my team created, how do I open that up to edit it? And what is the quick way to know what Visualforce page is connected to that button? (By edit, I mean the actual logic of the button, not change the layout of where it's located on the page.)
Thanks
Best Answer chosen by Victoria Ukatu
ravi soniravi soni
Hi Victoria,
If you are on Account's detail page then
1.) click setting Icon and select Edit object
Or Select setting Icon, click object manager and select account object.
2.) Click Button Links and action
3.) click  your button  Name and click Edit.
And there you wil be able to  see your button's type Action Type
Let me know if it helps you and marking it as best.
Thank You

All Answers

VinayVinay (Salesforce Developers) 
Hi Victoria,

Let's take an example of an account object.

From Setup, click Object Manager, then click Account.
Click Buttons, Links, and Actions you should be able to see list of buttons.  Every object has its own buttons.

ttps://trailhead.salesforce.com/en/content/learn/modules/lex_customization/lex_customization_buttons_links

Hope this helps...

Thanks,
ravi soniravi soni
Hi Victoria,
If you are on Account's detail page then
1.) click setting Icon and select Edit object
Or Select setting Icon, click object manager and select account object.
2.) Click Button Links and action
3.) click  your button  Name and click Edit.
And there you wil be able to  see your button's type Action Type
Let me know if it helps you and marking it as best.
Thank You
This was selected as the best answer
Victoria UkatuVictoria Ukatu
Thank you Vinay and Veer, that helped!