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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

The ribbon item is dependent on.. error

(0) ShareShare
ReportReport
Posted on by 16

Hi,

We have a highly customized Contact ribbon/command bar for our customer in a multi tenant CRM 2015 environment.  In our dev org, we used the RibbonWorkbench2013 tool to remove some buttons added by other vendors.  We added the Contact entity to its own solution, exported it and imported it into an existing Production org successfully.  If we try to import this solution into a brand new org, the import fails with error::

The ribbon item 'Mscrm.Isv.contact.HomepageGrid' is dependent on <DisplayRule Id="Mscrm.Isv.contact.HomepageGrid" />

We can successfully import this solution into the new org if we manually adjust the ribbondiffxml by removing the CommandID and Display Rule associated with Mscrm.Isv.contact.HomepageGrid.  If we try to export that contact solution and import back into our Dev org, it fails with the same error.  If we adjust the contact ribbondiffxml manually back to the default (with no customizations), and import back into our Dev org, the import fails again with the same error.

How can we remove this dependency error from our Dev org so we don't run into this issue again?

Thanks for any feedback

*This post is locked for comments

I have the same question (0)
  • razdynamics Profile Picture
    17,308 User Group Leader on at
    RE: The ribbon item is dependent on.. error

    Hi you will need to review the Display rules on your customised contact buttons as there is one that has a reference added that you will need to do before exporting the solution, as well as command bar also review the ribbon just in case

    Best Wishes, Raz

  • cd09 Profile Picture
    16 on at
    RE: The ribbon item is dependent on.. error

    Thanks for the feedback.  I initially tried to remove the dependency from within the ribbondiffxml, but it continued to give the above error.  Attempting to import the default ribbon also gave the error.  Is there somewhere else within the XML that we need to look?

         <RibbonDiffXml>

           <CustomActions />

           <Templates>

             <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>

           </Templates>

           <CommandDefinitions />

           <RuleDefinitions>

             <TabDisplayRules />

             <DisplayRules />

             <EnableRules />

           </RuleDefinitions>

           <LocLabels />

         </RibbonDiffXml>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans