Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Import solution failed on entity relationship

$
0
0

Hi all,

I've exported a CRM solution from CRM 8.2.3 and now I want to import it to another environment with CRM 8.2.3 installed. We updated both CRMs from 8.2.2 last week and before everything was ok so I'm not sure if this is update related issue.

Error is: The nav pane properties for the entity relationship role {GUID} are not customizable

And as I can see that in one environment entity relationship is customizable and in the other it's not

When I compare solution exported from 8.2.2 environment Customization.xml doesn't contain data about that entity relationship, the solution from 8.2.3 does.

Does anyone have a similar experience? Any idea how to fix it and why is that relationship read-only on one environment and editable on the other?

this is relationship exported from 8.2.2

<EntityRelationship Name="campaign_opportunities">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <IntroducedVersion>5.0.0.0</IntroducedVersion>
      <IsHierarchical>0</IsHierarchical>
      <ReferencingEntityName>Opportunity</ReferencingEntityName>
      <ReferencedEntityName>Campaign</ReferencedEntityName>
      <CascadeAssign>NoCascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>NoCascade</CascadeReparent>
      <CascadeShare>NoCascade</CascadeShare>
      <CascadeUnshare>NoCascade</CascadeUnshare>
      <ReferencingAttributeName>CampaignId</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>...</Descriptions>
      </RelationshipDescription>
 </EntityRelationship>

 

this is relationship exported from 8.2.3 - exported with details about relationship role (no customization was made here)

 <EntityRelationship Name="campaign_opportunities">
      <EntityRelationshipType>OneToMany</EntityRelationshipType>
      <IntroducedVersion>5.0.0.0</IntroducedVersion>
      <IsHierarchical>0</IsHierarchical>
      <ReferencingEntityName>Opportunity</ReferencingEntityName>
      <ReferencedEntityName>Campaign</ReferencedEntityName>
      <CascadeAssign>NoCascade</CascadeAssign>
      <CascadeDelete>RemoveLink</CascadeDelete>
      <CascadeReparent>NoCascade</CascadeReparent>
      <CascadeShare>NoCascade</CascadeShare>
      <CascadeUnshare>NoCascade</CascadeUnshare>
      <ReferencingAttributeName>CampaignId</ReferencingAttributeName>
      <RelationshipDescription>
        <Descriptions>...</Descriptions>
      </RelationshipDescription>
      <EntityRelationshipRoles>
        <EntityRelationshipRole>
          <NavPaneDisplayOption>UseCollectionName</NavPaneDisplayOption>
          <NavPaneArea>Sales</NavPaneArea>
          <NavPaneOrder>130</NavPaneOrder>
          <NavigationPropertyName>campaignid</NavigationPropertyName>
          <RelationshipRoleType>1</RelationshipRoleType>
        </EntityRelationshipRole>
        <EntityRelationshipRole>
          <RelationshipRoleType>0</RelationshipRoleType>
        </EntityRelationshipRole>
      </EntityRelationshipRoles>
    </EntityRelationship>


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>