locked
Issue in Solution Import RRS feed

  • Question

  • Hi,

    I am trying to import manage solution from DEV to Production environment. I am getting "The Import of solution failed. The following component is missing from the solution". Due to "Entity Relationship" it says that "tad_incident_sharepointdocument" is missing from solution and is required on production. A i checked this relationship is already  there on "Production or Dev solution". 

    I am posting XML from dev enviroment for relationship.

     <EntityRelationship Name="tad_incident_sharepointdocument">
          <EntityRelationshipType>OneToMany</EntityRelationshipType>
          <IsCustomizable>1</IsCustomizable>
          <IntroducedVersion>1.0</IntroducedVersion>
          <IsHierarchical>0</IsHierarchical>
          <ReferencingEntityName>SharePointDocument</ReferencingEntityName>
          <ReferencedEntityName>Incident</ReferencedEntityName>
          <CascadeAssign>NoCascade</CascadeAssign>
          <CascadeDelete>RemoveLink</CascadeDelete>
          <CascadeReparent>NoCascade</CascadeReparent>
          <CascadeShare>NoCascade</CascadeShare>
          <CascadeUnshare>NoCascade</CascadeUnshare>
          <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
          <ReferencingAttributeName>tad_regardingid</ReferencingAttributeName>
          <RelationshipDescription>
            <Descriptions>
              <Description description="Unique identifier for Case associated with Sharepoint Document." languagecode="1033" />
            </Descriptions>
          </RelationshipDescription>
          <field name="tad_regardingid" requiredlevel="none" lookupstyle="single" lookupbrowse="0" format="">
            <IsCustomizable>1</IsCustomizable>
            <IsRenameable>1</IsRenameable>
            <CanModifySearchSettings>1</CanModifySearchSettings>
            <CanModifyRequirementLevelSettings>1</CanModifyRequirementLevelSettings>
            <IsSecured>0</IsSecured>
            <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
            <IsAuditEnabled>0</IsAuditEnabled>
            <displaynames>
              <displayname description="Regarding" languagecode="1033" />
            </displaynames>
          </field>
          <EntityRelationshipRoles>
            <EntityRelationshipRole>
              <NavPaneDisplayOption>UseCollectionName</NavPaneDisplayOption>
              <NavPaneArea>Details</NavPaneArea>
              <NavPaneOrder>10000</NavPaneOrder>
              <CustomLabels>
                <CustomLabel description="" languagecode="1033" />
              </CustomLabels>
            </EntityRelationshipRole>
          </EntityRelationshipRoles>
        </EntityRelationship>

    Any Suggestions.


    Amit


    • Edited by amityada17 Monday, September 19, 2016 12:21 PM
    Monday, September 19, 2016 12:20 PM

All replies

  • Hi,

    2 things: Your solution that was exported from production might be out of date. ie someone has already replaced the relationship with a new one that has a different ID (although the same name) - A re-extraction of those 2 entities and inclusion in your dev solution  should provide the correct ID's going forward.

    2) Other than the above, would it be possible to remove the relationship from production, that way the one you have should go in correctly.

    regards,

    Donald


    Thursday, September 22, 2016 10:49 AM