Reply
Regular Contributor
kittu9
Posts: 87
0
Accepted Solution

Adding Custom buttons to related lists in salesforce

I am having two object. Eg: A & B two custom objects. These both are having master detail relation ship. A is Master object to B object. In the "A" object for the "B related list" i want to add custom button beside to the standard buttonss. Can any one help me on this ???

Trusted Contributor
@anilbathula@
Posts: 286
0

Re: Adding Custom buttons to related lists in salesforce

HI 

 

Goto Object b goto->Custom buttons and links->new->enter name->label->Display button .

Choose list button and  choose the behaviour and  action source to perform some action on clicking the button.

Go to A object page layout come down to b object related list and click on properties icon.

You can see the buttons label in blue click it you can see avalable and selected list side by side.

Choose the new created button from available list and move it to selected list and change the page layout of A object

Thats it you can have a custom button along with standard buttons.

 

Thanks
Anil.B
Trusted Contributor
hasha_trekbin
Posts: 196
0

Re: Adding Custom buttons to related lists in salesforce

[ Edited ]

Hi kittu,

 

create a list view button for object B and add it from page layout.

 

Once this is done, just check your ralated list. You can see the button on the related list.

 

This means whichever buttons are visible in the list view of an object, the same will also appear in the related lists

- Harsha
Regular Contributor
kittu9
Posts: 87
0

Re: Adding Custom buttons to related lists in salesforce

Thanks harsha