+ Start a Discussion

How to disable the related list button?

I have two sites





  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 


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


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.