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

Announcements

News and Announcements icon
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,218 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 112 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 73

#3
Chris1968 Profile Picture

Chris1968 20

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans