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
SatyaPrustySatyaPrusty 

Conditional display of custom button on Detail Page

I want to have custom button 'Disable' or 'Enable' on detail page of an object based on its active status.Can anyone help how to do this

 

 

AkiTAkiT
Look at Visualforce to achieve this. Using normal layouts you cannot conditionally hide/show buttons.