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

Day 11 - Customizing Option Sets Dropdown Fields with JavaScript

  In this Blog, we will see how to Customizing Option Sets Dropdown Fields with JavaScript label1 = formContext.getAttribute( "bosch_op...