web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to grey out a button?

(0) ShareShare
ReportReport
Posted on by 3,079

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

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi Allison Walters,

    You can grey out a button with the Ribbon Workbench for Dynamics 365 & Dynamics CRM.

  • awalters Profile Picture
    3,079 on at

    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?

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Allison,

    There is no supported way to achieve this functionality.

    See: community.dynamics.com/.../244995

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    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.

  • awalters Profile Picture
    3,079 on at

    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.)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans