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

disable/Enable custom buttons on case detail view

Hi How to disable/Enable custom buttons on case detail view.



i have one custom button on case detail view , it has to enable or disabel  based on some condition when case detail view loading .

Ex: when i click on case record it will open detail view that time only the custom button has to disable  based on user.




pls give me suggestions how to do.




Hope this will help :



If this helps, please mark it as a solution, and give kudos (click on the star) if you think I deserve them.



Cool Sfdc