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
Amita TatarAmita Tatar 

Custom button on edit page

Hi guys, 
I want to add custom save button on edit page of layout. How is it possibel? Can anybody help me out ?
JyothsnaJyothsna (Salesforce Developers) 
Hi Amita,
Custom button on Detailpage

You can go to Setup -> Customize -> Object(e.g. Opportunities) -> Buttons and Links, create there a "Detail Page Button" and when it's done - add it to the page layout(s) of Opportunities. If you don't see 

Step1:  Create a custom button
Please check the below link
https://help.salesforce.com/HTViewHelpDoc?id=defining_custom_links.htm&language=en_US

Step2:  Add a Custom List Button to a Page Layout
https://developer.salesforce.com/docs/atlas.en-us.fundamentals.meta/fundamentals/adg_composite_app_custom_button_layout_try_it_out.htm


Hope this helps you!
Best Regards,
Jyothsna
Rupali PophaliyaRupali Pophaliya
Hi Amita,

You can't add custom button to edit page layout. It is currently on Idea Exchange:

https://success.salesforce.com/ideaView?id=08730000000BrMWAA0

However you can create visual force page and override Edit button.