RE: When importing solution getting relationship error
Hi,
There was a change done in May, 2020 that removes the annotations from internal Microsoft Entities, which remove from the system relationships like
- msdyn_solutioncomponentdatasource_Annotations
- msdyn_solutionhistorydatasource_Annotations
Here are some Possible Workarounds:
+ Remove entirely annotation entity from the custom solution in the source Org;
+ Or remove only the ObjectId lookup and the relationships msdyn_solutioncomponentdatasource_Annotations and msdyn_solutionhistorydatasource_Annotations ( since the lookup is removed, the system will not re add the relationships);
+ Or disable FCB.AutomaticallyAddBackingRelationshipForLookups , then manually remove from solutionmsdyn_solutioncomponentdatasource_Annotations and msdyn_solutionhistorydatasource_Annotations. Hence export solution again ( since FCB is disable, the system will not automatically re add the relationships). We can re enable FCB later;