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 :
Microsoft Dynamics CRM (Archived)

RibbonDiffXML not working for Order entity

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Verified answer
    greensweater Profile Picture
    45 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans