Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

RibbonDiffXML not working for Order entity

Posted on by 45

In Dynamics 365 online, I used Scott Durow's Ribbon Workbench to generate RibbonDiffXML for the Order entity (salesorder). I added a custom EnableRule to the "Get Products" button. The generated XML in the solution looks correct, but when I load the Order detail page, my EnableRule is not called. In eval script on the page, the Mscrm.CommandLayout["'Mscrm.CommandBar'"] is created but it does not include the RibbonDiffXML changes. I've cleared cache on my browser without success.

I've used the same EnableRule in other ribbons (Cases, Opportunities) and it works correctly. 

I should note that the Project Service and Field Service solutions from Microsoft are installed. Maybe this is overriding the ribbon changes I've made? Is there something different about the Order entity that's preventing my changes from going through?

*This post is locked for comments

  • Verified answer
    greensweater Profile Picture
    greensweater 45 on at
    RE: RibbonDiffXML not working for Order entity

    Ended up getting around this by creating a new custom Command for the button, which matched the existing command for the GetProducts button (Mscrm.Form.salesorder.GetProducts), and replacing the Command value on the button with the new command name. I'm not sure why updating the command with a custom EnableRule didn't work, but this solved the issue.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans