
When I enable new language. An error occured:
Ribbons import: FAILURE: The RibbonRule(8a13c7b6-11e2-e911-a813-000d3a52b046) component cannot be deleted because it is referenced by 3 other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest
When I use the method RetrieveDependenciesForDeleteRequest for find dependency. this is trace log:
EntityCollection dependency Entity 3 Start result Key EntityCollection; Value Microsoft.Xrm.Sdk.EntityCollection End result Start Entity EntityName: dependency CountRelated: 0 [Attribute] Key dependentcomponentparentid; Value 00000000-0000-0000-0000-000000000000 [Attribute] Key requiredcomponenttype; Value Microsoft.Xrm.Sdk.OptionSetValue [Attribute] Key dependentcomponentobjectid; Value ba14c7b6-11e2-e911-a813-000d3a52b046 [Attribute] Key dependentcomponentbasesolutionid; Value 33ae81c4-823c-49e0-ab03-b472b6e4e852 [Attribute] Key dependentcomponenttype; Value Microsoft.Xrm.Sdk.OptionSetValue [Attribute] Key requiredcomponentbasesolutionid; Value 33ae81c4-823c-49e0-ab03-b472b6e4e852 [Attribute] Key dependencyid; Value f91ae8fa-b586-4248-89d6-6799c602d508 [Attribute] Key requiredcomponentparentid; Value 00000000-0000-0000-0000-000000000000 [Attribute] Key requiredcomponentobjectid; Value 7c13c7b6-11e2-e911-a813-000d3a52b046 [Attribute] Key dependencytype; Value Microsoft.Xrm.Sdk.OptionSetValue EntityName: dependency CountRelated: 0 [Attribute] Key dependentcomponentparentid; Value 00000000-0000-0000-0000-000000000000 [Attribute] Key requiredcomponenttype; Value Microsoft.Xrm.Sdk.OptionSetValue [Attribute] Key dependentcomponentobjectid; Value a115c7b6-11e2-e911-a813-000d3a52b046 [Attribute] Key dependentcomponentbasesolutionid; Value 33ae81c4-823c-49e0-ab03-b472b6e4e852 [Attribute] Key dependentcomponenttype; Value Microsoft.Xrm.Sdk.OptionSetValue [Attribute] Key requiredcomponentbasesolutionid; Value 33ae81c4-823c-49e0-ab03-b472b6e4e852 [Attribute] Key dependencyid; Value da8fd109-4b13-4d64-b6be-88d231305e98 [Attribute] Key requiredcomponentparentid; Value 00000000-0000-0000-0000-000000000000 [Attribute] Key requiredcomponentobjectid; Value 7c13c7b6-11e2-e911-a813-000d3a52b046 [Attribute] Key dependencytype; Value Microsoft.Xrm.Sdk.OptionSetValue EntityName: dependency CountRelated: 0 [Attribute] Key dependentcomponentparentid; Value 00000000-0000-0000-0000-000000000000 [Attribute] Key requiredcomponenttype; Value Microsoft.Xrm.Sdk.OptionSetValue [Attribute] Key dependentcomponentobjectid; Value f013c7b6-11e2-e911-a813-000d3a52b046 [Attribute] Key dependentcomponentbasesolutionid; Value 33ae81c4-823c-49e0-ab03-b472b6e4e852 [Attribute] Key dependentcomponenttype; Value Microsoft.Xrm.Sdk.OptionSetValue [Attribute] Key requiredcomponentbasesolutionid; Value 33ae81c4-823c-49e0-ab03-b472b6e4e852 [Attribute] Key dependencyid; Value 576ba49f-ac5d-47c4-addc-6dd03f8e6ca5 [Attribute] Key requiredcomponentparentid; Value 00000000-0000-0000-0000-000000000000 [Attribute] Key requiredcomponentobjectid; Value 7c13c7b6-11e2-e911-a813-000d3a52b046 [Attribute] Key dependencytype; Value Microsoft.Xrm.Sdk.OptionSetValue End Entity End Ribbon Rule
How to fix the error ? I want to enable a new language
Hi Vinh,
Where did you impor the Ribbon Rule? If you are using solutions, you could select your ribbon application and find its dependency.
If you are using other tools, in general, ribbons always related with js librariesm you could check for that.
If my understanding is not correct, please share more details about your situation.
Hope it helps.
Best Regards,
Leo