I did some clean up on my solution - removed some unwanted relationships and tables. Now, I'm exporting it as managed and trying to import into another environment as an upgrade. After the importing processes for awhile, I get this error message:
The referencing entity of a relationship must have the CanBeRelatedEntityInRelationship managed property set to true
I downloaded and edited the huge import.xml file. In it, I searched for references to that error message and found 3. 2 look like they're just listing the error for the solution. The third points to an actual relationship between a custom table and the Activity table:
<Row ss:AutoFitHeight="0" type="Entity Relationships"> <Cell ss:StyleID="s137" name="Time"> <Data ss:Type="String">19:38:03.30</Data> </Cell> <Cell ss:StyleID="s137" name="ItemType"> <Data ss:Type="String">Entity Relationships</Data> </Cell> <Cell ss:StyleID="s137" name="Id"> <Data ss:Type="String" /> </Cell> <Cell ss:StyleID="s137" name="Name"> <Data ss:Type="String">new_policy_ActivityPointers</Data> </Cell> <Cell ss:StyleID="s137" name="LocalizedName"> <Data ss:Type="String" /> </Cell> <Cell ss:StyleID="s137" name="OriginalName"> <Data ss:Type="String" /> </Cell> <Cell ss:StyleID="s137" name="Description"> <Data ss:Type="String" /> </Cell> <Cell ss:StyleID="s137" name="Status"> <Data ss:Type="String">Failure</Data> </Cell> <Cell ss:StyleID="s137" name="ErrorCode"> <Data ss:Type="String">0x80047003</Data> </Cell> <Cell ss:StyleID="s137" name="ErrorText"> <Data ss:Type="String">The referencing entity of a relationship must have the CanBeRelatedEntityInRelationship managed property set to true</Data> </Cell> </Row>
"new_policy" is my custom table. This relationship exists in the solution, and has for many releases. But has never caused this error before. I have other custom tables with a relationship to the Activity table that have the same properties. Those do not cause errors. In fact this one is the only entity relationship listed in the entire install log file.
Any ideas on how to fix this?
@tschopp Please refer to this Blog for the Solution Click here
Hello @tschopp did you get any solution for this Error
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2