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
Shubham RajShubham Raj 

Customize related list and to remove Add to campaign button

Hi All, I want to

1. Remove the "Add to campaign" button from the layout.

2. Can we add more field in related list for display ..

3. Can we resize the gap between fields and vales in related listUser-added image.

VinayVinay (Salesforce Developers) 
Hi Shubham,

Navigate to Account layout---->Edit--->Contacts related list--->Related list properties--->Uncheck 'Add to Campaign'.

Below is the screenshot for reference.

User-added image

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
Shubham RajShubham Raj
Thanks for the responce @Vinay,
But this button is on record level not on list level. The method you had provided, is already been done on related list level.
VinayVinay (Salesforce Developers) 
Hi Shubham,

If you have removed from layout it should be visible at a record level,  can you try to re-check the layout name where you have unchecked?

If you still see the issue can you provide more details so that we can take a look?

Thanks,
Vinay Kumar