Is there any way to grey out a ribbon button? i.e. make it still visible, but disabled? (The idea being that this is conditional, and I'd add tip text to explain why...)
*This post is locked for comments

Is there any way to grey out a ribbon button? i.e. make it still visible, but disabled? (The idea being that this is conditional, and I'd add tip text to explain why...)
*This post is locked for comments
Hi Allison Walters,
You can grey out a button with the Ribbon Workbench for Dynamics 365 & Dynamics CRM.
I'm using Ribbon Workbench - however, I don't see any way to grey a button out. Both the Enable and Display rules hide the button, not grey it out. I haven't seen anything else in there that seems like it'll do it...am I missing something?
Hi Allison,
There is no supported way to achieve this functionality.
Hi Allision,
Ideally there is no supported way to greyout button. Using enable rule and display rule will hide/show the button , enable rule is basically working on client side or after DOM loaded and display rule hide before loading HTML DOM .
Following workaround you can follow -
Add some condition in button action function and display the button always and depending on the the condition do the action otherwise not or give some alert.
You can also add one more button with greyout images and display that button when you want to show button greyout and hude the actual button.
I was thinking about changing the alert, but I was ideally hoping to keep them from clicking the button entirely. Looks like I'll have to fall back to that Plan B, then. Thanks! (The image idea is a good one - sadly, these are sub-entries of a flyout, so it wouldn't apply in this case.)