Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Weird issues with entity ribbon

Posted on by Microsoft Employee

Hello!

I'm currently having issues with my Dynamics 365 instance.

Recently I tried to display the hidden system "+" button on some system entities' forms and ribbons. What I did was loading Ribbon Workbench, copying the buttons and removing display and enable rules from copies. It worked fine, but after that some weird stuff started happening.

In short, every time I modified the button and republished the solution, it created the new version of button, while keeping the old one. It resulted in me having three identical buttons on my Assosiated View ribbon.

Whenever I remove buttons in ribbon workbench and publish the solution, they are not deleted in Dynamics, and are back to Workbench after I reload the solution. Whenever I edit any elements of ribbon and publish the solution, the new version is created, and the old one is kept too.

I exported the solution and edited customizations.xml manually then, removing the whole RibbonDiffXml part. The result is the same: the import is successfull, but the buttons are still not removed after the publish.

Then I created the app to wipe the correspondent ribbondiff records directly from odata, but it didn't let me. Nor could I retrieve those records with SDK.

Finally, I executed the RetrieveEntityRibbonRequest for that entity, and extracted the XML to a file. It is clean and has absolutely no customizations:

<RibbonDefinitions>
  <RibbonDefinition>
    <UI>
      <Ribbon>
        <Tabs Id="Mscrm.Tabs" />
        <ContextualTabs Id="Mscrm.ContextualTabs" />
      </Ribbon>
    </UI>
    <Templates>
      <RibbonTemplates Id="Mscrm.RibbonTemplates" />
    </Templates>
    <CommandDefinitions />
    <RuleDefinitions>
      <DisplayRules />
      <EnableRules />
    </RuleDefinitions>
  </RibbonDefinition>
</RibbonDefinitions>

Looks like all customizations were successfully removed from CRM; still, the buttons are shown on form and in Ribbon Workbench.
Could you please tell me where customizations are kept and how can I reset everything back to stock?

I don't have backups from previous versions of the solution, and it doesn't appear to let me import them anyway.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Weird issues with entity ribbon

    Hi,

    you are not the only one. please refer to below discussion.

    I would suggest you to contact Microsoft support. So that Microsoft will release the fix asap.

    besides that, you can  try to use other browsers to remove the button using ribbon workbench or deploy the solution.

    community.dynamics.com/.../309528

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans