• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/DocumentsCorePack Solution update Error – AutoMergeGlobalButton

DocumentsCorePack Solution update Error – AutoMergeGlobalButton

358 views 0 Updated on July 26, 2022

This blog article is relevant for you if you get the following error message during the update to the AutoMergeGlobalButton Solution version 2017.38/2018.38 or higher:

FAILURE: The RibbonRule(f146d12c-f718-e611-80fb-5065f38a7a11) component cannot be deleted because it is referenced by 2 other components.

OR if the update was successful, but you get the following error on page load or on [Create Document]-button click:

Error message
Figure 1: Error message

If this happens on a “Service Activity” record, please check the section “For Service Activity”.

Reason

We have changed the enable rules of the [Create Document]-button to make different improvements. If you have not customized the DCP button manually you will not have any problems.

But if you have modified the [Create Document]-button (e.g. via RibbonWorkBench) you will get the above errors.

The reason for that is that due to your custom change a copy of the old XML structure has been created (e.g. in order to add custom display rules to the button) and the update fails because a reference to the old XML structure exists.

How to solve it
First, find out for which entities changes were made (you can skip this step if you know which entities are affected):

To do so open the dependency dialog for the “AutoMergeGlobalButton” solution as described in this blog article.

[YOUR CRM URL]/tools/dependency/dependencyviewdialog.aspx?objectid=[GUID OF AMGLOBALBUTTON SOLUTION]&objecttype=7100&operationtype=dependenciesforuninstall

In this example the changes were only made for the quote entity (Just entities depended on the “Application Ribbons” are relevant):

Relevant entities in this example
Figure 2: Relevant entities in this example

Next, check the changes for these entities. In this case for the quote entity. This can be done via a manual solution export of the entity ribbon or via the RibbonWorkBench. In this example, we use the RibbonWorkBench. When we open it for the quote entity, it shows the following changes:

Entity changes via the RibbonWorkBench
Figure 3: Entity changes via the RibbonWorkBench

It is recommended to create a backup of the Ribbon XML first.

Then remove all elements which are related to the [Create Document]-button. The IDs of all of them start with “MSCRMADDONS” (see highlighted above). This can be done by right-clicking -> Delete.

In detail this means that you remove your custom changes which have been made on the MSCRM-ADDONS ribbon elements. Once done the button is reset to the out of the box behavior.

After publishing these changes the problem should be solved.

Please note: It could also be possible that this change has been made on Organization1 and has been migrated to Organization2 via a managed solution. In this case, this has to be changed or removed in that migration solution.

Problems in Dynamics 365 Online version 9.1: We have noticed the no buttons which were added via the RibbonWorkBench or via any other unmanaged way cannot be undone.

It behaves like follows: You remove the ribbon elements via the RibbonWorkBench and publish it. Everything seems fine, but when you reload the RibbonWorkBench you notice that all elements are here again.

This is a global CRM problem and happens for CRM default buttons as well.

Please contact Microsoft support to fix this.

For Service Activity

If this happens on a “Service Activity” record and you have the “AutoMergeGlobalButtonExtension” solution version 2015.2 or lower installed, please update to the 2015.3 version.

Download the solution via this link:  DownLoadLinkToSolutionInTheFolder

Open Dynamics 365 -> Settings -> Solutions -> hit “Import” -> select the zip solution file and follow the wizard.

Still not working

If you followed the above steps but the update does still not work, please send us the following information:

  • Error Message of Install/Update process
  • CRM Version (Dynamics 356 -> Settings wheel -> About)
  • Unique organization name: https://www.mscrm-addons.com/Blog/PostId/9981/unique-organization-name-in-microsoft-dynamics-365
  • A screenshot of the dependency dialog for the “AutoMergeGlobalButton” solution (as described above)
  • A screenshot of the included elements of the RibbonWorkBench of affected entities (or the )

​

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.

Was this helpful?

Yes  No
Related Articles
  • AssureSign for DocumentsCorePack
  • How to conditionally remove a watermark in DocumentsCorePack templates
  • Document Processing with DocumentsCorePack (DCP)
  • How to activate SharePoint in DocumentsCorePack
  • Fillable PDF forms
  • Document concatenation in DocumentsCorePack 
Latest Articles
  • New DocumentsCorePack Connector features for Power Automate
  • Office Theme Support of DocumentsCorePack
  • AssureSign for DocumentsCorePack
  • Dynamic Document Properties
  • How to conditionally remove a watermark in DocumentsCorePack templates
Popular Articles
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • DocumentsCorePack Online Service Configuration
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Online Services: Required Application Permissions
  • How licenses are counted
Categories
  • *News and General Infos* 51
  • Webinars 35
  • Template Designer(DCP 173
  • DocumentsCorePack(DCP 191
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 62
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.