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
madhumadhu 

add button on related list

in account record detail page how to add a button on opportunity related list object.
Amit Chaudhary 8Amit Chaudhary 8
Please follow below Steps:-
Step 1:- Click on Account page layout
Step 2:- Then  go to related list and click on below  button :-
User-added image
Step 3:- Then click on setting button after that below screen will open
User-added image

STEP 4:- Click on Button Section  and select button and click on save.


NOTE if you want to create new button then follow below step :-

STEP 1:- Create a new button on Opportunity 
User-added image

STEP 2:- Then click on new button and link
NOTE:-  Please select List Button.
User-added image

To add same button on page layout please follow all above 3 Step and select button like below

User-added image

Please mark this as solution if this will help you

Thanks
Amit Chaudhary
Abhi_TripathiAbhi_Tripathi
Please go through this link

https://help.salesforce.com/apex/HTViewHelpDoc?id=customizing_related_lists.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=customizing_related_lists.htm&language=en)
John KlokJohn Klok
Hello madhu,
First you have to create a custom button on opportunity whose display type should be "List Button"

Setup > App Setup > Customize > opportunity > Button And Links > Custom Button And Links > New > Create custom button with display type "List Button"

Now your button is ready to be used on related list. Now if you want to add this on opportunity related list

Setup > App Setup > Customize > Accounts > Page Layout > Edit > Go to related list > Properties of opportunity related list > Buttons > Select your custom button from multiselect picklist and add it in Selected Button picklist > Save.

Kindly mark this as solved if the reply was helpful.
Thanks.