Most times, requirement is as simple as being able to show or hide a ribbon button based on a value of the field on the record.
Let’s consider this scenario, a button on Lead entity called as “Evaluate” exists. It should be only visible if the Lead Source (OptionSet) is set to Partner.
And the button should be hidden if the condition is not satisfied.
Continue Reading priyeshwagh777’s Article on their blog
Ribbon button visibility based on a field value in Dynamics 365 | Ribbon Workbench – D365 Demystified
Here’s how you can show or hide your custom ribbon button based on record field values in Dynamics 365 using Ribbon Workbench.
Blog Syndicated with priyeshwagh777’s Permission