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
mahi68mahi68 

How to disable the related list button?

I have two sites

 

  1.Chicago

  2.Baltimore

 

  I have one more object inventory as a related list to site 

 

now every time I want to transfer the inventory from Chicago to Baltimore for this I created list button and added to site page layout but this button will appear in Chicago site as well as Baltimore but I want to add this button to Chicago site only. Can I do with out visuaflroce page any idea.

 

          please help me. Thanks in advance 

sandeep@Salesforcesandeep@Salesforce

Unfortunately it is not possible to disable list button any way.

souvik9086souvik9086

You cannot do that button hide for a particular record in a standard salesforce page. You can hide that related list button. But that will for all the sites, not for a particular site.

 

Go to Edit Layout from detail page. Then Related List Properties. Then Buttons section, deselect which button you want to hide but note it will not be hidden for particular records.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks