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
Apex Code DevelopmentApex Code Development 

How to set the visibility of a custom button based on a picklist value in the related list?

Hi folks,

In the opportunity related list,I had a button "New Contract".When the opportunity stage equals "Contract Initiated" the "New Contract" button should be visible on the Opportunity related list otherwise it should be hidden.Please suggest a solution for this.

 

Thanks & Regards,

Jagadeesh K.