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 :
Customer experience | Sales, Customer Insights,...
Answered

Ribbonbench EnableRules does not trigger

(0) ShareShare
ReportReport
Posted on by 155

I´m trying to trigger my "Enable rule" but it does not work. To make the most simple test as possible, I modifed my javascript file to just return "false". But still the button is shown!

And even if I open the debugger in Chrome it does not hit my breakpoint.

(Everything  worked yesterday, but today I removed the EnableRule and to added it back but now it has stopped working.

It has to be something easy, but I can´t find what and I been struggling with this for hours now 

Thanks in advance! 

Ribbon.png

3618.script.png

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi,

    The best way to understand what is going on in your ribbon is to use the command checker tool. This tool will allow you to see the enabled rules applied and their results.

    See the following blogs for more details:

    https://d365demystified.com/2020/04/14/debug-ribbon-button-customization-using-command-checker-in-dynamics-365-ce-unified-interface/

    https://joshimandarblog.wordpress.com/2020/11/08/ribbon-troubleshooting-using-command-checker/

  • kranis Profile Picture
    155 on at

    Thanks, but that only works in UCI

  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    Are you sure that you relate the enable rule with your button command?

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans