<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Relationship class dissapears when published to AGS in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/relationship-class-dissapears-when-published-to/m-p/374685#M14488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the feature classes and tables that participate in the relationship reside in the same geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know back at 10.3.1 relates between feature classes and tables in separate geodatabases were not recongized by ArcGIS Server.&amp;nbsp; From testing I have done on 10.5.1, this issue appears to have been resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also try breaking out the filtered data into 2 separate feature classes and then create the relationship on the individual feature classes instead of using the same datasource with 2 definition queries applied (This would just be a workaround as your setup in theory should work).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2017 19:53:07 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2017-12-27T19:53:07Z</dc:date>
    <item>
      <title>Relationship class dissapears when published to AGS</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/relationship-class-dissapears-when-published-to/m-p/374684#M14487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Desktop, we have created to layers from the same source feature class that are differentiated by definition queries. We then create a relationship class (in the map document) for both layers to a single table. This works great in desktop, but when we publish the map service to ArcGIS Server, one layer is assigned both relationships and the other has none. From what I can see, when the data is published to ArcGIS Server, the relationships are established on layer source name and ignore layer IDs or layer names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In desktop:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CasesActive (Case FC with def query)&lt;UL&gt;&lt;LI&gt;have inspections (relationship)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;CasesInactive (Case FC with def query)&lt;UL&gt;&lt;LI&gt;have inspections (relationship)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Published to AGS:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CasesActive (Case FC with def query)&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;have inspections (relationship)&lt;/LI&gt;&lt;LI&gt;have inspections (relationship)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;CasesInactive (Case FC with def query)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot from AGS rest endpoint:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391691_pastedImage_4.png" style="width: 620px; height: 86px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10.4.1 environment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 13:52:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/relationship-class-dissapears-when-published-to/m-p/374684#M14487</guid>
      <dc:creator>Lynchburg_GISDivision</dc:creator>
      <dc:date>2017-12-27T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship class dissapears when published to AGS</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/relationship-class-dissapears-when-published-to/m-p/374685#M14488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the feature classes and tables that participate in the relationship reside in the same geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know back at 10.3.1 relates between feature classes and tables in separate geodatabases were not recongized by ArcGIS Server.&amp;nbsp; From testing I have done on 10.5.1, this issue appears to have been resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also try breaking out the filtered data into 2 separate feature classes and then create the relationship on the individual feature classes instead of using the same datasource with 2 definition queries applied (This would just be a workaround as your setup in theory should work).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 19:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/relationship-class-dissapears-when-published-to/m-p/374685#M14488</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-12-27T19:53:07Z</dc:date>
    </item>
  </channel>
</rss>

