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
Mhlangano KhumaloMhlangano Khumalo 

How to conditionally render a custom button on page layout

Hi,
I have a custom action buttion on the Opportunity page layout which lauches a lightning component upon click.
How can I show/hide the button depending on the Opportunity stage field?
Steven NsubugaSteven Nsubuga
You can only do this with a Visualforce page.