Skip to main content

Notifications

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

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Ribbonbench EnableRules does not trigger

    Hi,

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

  • kranis Profile Picture
    155 on at
    RE: Ribbonbench EnableRules does not trigger

    Thanks, but that only works in UCI

  • Suggested answer
    meelamri Profile Picture
    13,212 User Group Leader on at
    RE: Ribbonbench EnableRules does not trigger

    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/

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans