Tuesday, May 14, 2019

Online MSCRM + A managed solution cannot overwrite the AttributeMap component with Id={GUID} which has an unmanaged base instance. The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged AttributeMap component on the target system, and now a managed solution from the same publisher is trying to install that same AttributeMap component as managed. This will cause an invalid layering of solutions on the target system and is not allowed.

HI All,

Please find the below FetchXML, to find the AttributeMap with Source and Destination Fields from MSCRM

string ss = "<fetch version='1.0' mapping='logical' distinct='false'>
<entity name='entitymap'>
<attribute name='sourceentityname'/>
<attribute name='targetentityname'/>
<link-entity name='attributemap' alias='attributemap' to='entitymapid' from='entitymapid' link-type='inner'>
<attribute name='sourceattributename'/>
<attribute name='targetattributename'/>
<filter type='and'>
<condition attribute='attributemapid' operator='eq' value='{GUID}' /> // Pass your GUID from the Solution Error
</filter>
</link-entity>
</entity>
</fetch>";

No comments:

Post a Comment

How to Run Microsoft Flow for Every one Month

Introduction: In this Blog we will see how to Run Microsoft Flow for Every one Month. Implementation Steps:   1. Navigate to  https://make.p...