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.