Home > CRM 2011 > Found more than one RibbonDiff entity – Error while publishing customizations

Found more than one RibbonDiff entity – Error while publishing customizations

Other day when I was trying to edit my ‘Account’ entity ribbon using ‘Ribbon Work Bench’ tool, I was getting ‘Found more than one RibbonDiff entity’ error at the time of publishing customization’s.

Refer the KB Article

Reason

  • One of the reason could be, In <RibbonDiffXml>  there might be more than one  element with same ‘Id’.
  • In my case, I had two <HideCustomAction> node with same ‘HideActionId’

Fix

To fix the issue I followed below steps

  • Create a solution with the affected entity and export
  • Extract the folder, open the “customizations.xml”
  • Go to <RibbonDiffXml> and check if any of the XML elements with same Id’s
  • Delete or Rename the duplicate XML elements
  • Save, Re-import and Publish the solution

Note –

If by following the above steps in ‘Fix’ does not solve the problem, try these steps

  • Take a backup of “customizations.xml” file
  • Now open the original ‘customizations.xml’ and clear the xmlelements in <RibbonDiffXml> section
  • Save, Re-import and Publish the solution

Now if you open crm application and open the entity, you don’t find old ribbon changes since we clear all xml elements in <RibbonDiffXml> section.

To get back old changes and fix the issue follow these final steps

  • Export the solution back
  • Open “customizations.xml” file and copy the <RibbonDiffXml> section file from backup file
  • Make sure you don’t have any elements with duplicate Id’s
  • Save, Re-import and Publish the solution

🙂

Advertisement
  1. Bhum
    December 6, 2013 at 9:55 AM

    Thanks you for the solution. My issue got resolved througth this post. Really great….

  2. December 8, 2014 at 3:51 PM

    Reblogged this on Mandar Joshi.

  3. Vasavi Kotha
    May 19, 2016 at 7:28 AM

    Thank you. This worked for me after many hours of frustration

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: