<?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: REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566078#M2700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that doesn't work (although I would like to know why you say it is not applicable in your case) you can always create two fearureclasses with the relationshipclass and publish that.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 18:52:03 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2018-01-15T18:52:03Z</dc:date>
    <item>
      <title>REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566075#M2697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently published a MapService with a Relationship Class in it.&lt;/P&gt;&lt;P&gt;The Relationship Class links the attributes of two Feature Classes (let's call them A and B).&lt;/P&gt;&lt;P&gt;B is referenced in my publication mxd as two separate layers, each with a specific definition query (let's call these layers B_lyr1, and B_lyr2).&lt;/P&gt;&lt;P&gt;Now, the problem is: after publishing, from REST I can only see one of these layers in the Relationship Class. Only the one which comes before in my Table of Content (namely B_lyr1) is visible, while there's no trace of B_lyr2.&lt;/P&gt;&lt;P&gt;This is causing my app to show the related information of B from A only for the filtered B_lyr1, while the attributes in B_lyr2 are not accessible from the same Relationship Class.&lt;/P&gt;&lt;P&gt;Is this a bug?&lt;/P&gt;&lt;P&gt;The version of ArcMap I am using is 10.5,same for ArcGIS Server.&lt;/P&gt;&lt;P&gt;To clarify, here is a scheme of what I see in REST (note that there's no mention of B_lyr2 under "Relation"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- A (0)&lt;/P&gt;&lt;P&gt;- B_lyr1 (1)&lt;/P&gt;&lt;P&gt;- B_lyr2 (2)&lt;/P&gt;&lt;P&gt;Relation: A &amp;lt;-&amp;gt; B_lyr1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566075#M2697</guid>
      <dc:creator>AlessandroValra</dc:creator>
      <dc:date>2018-01-15T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566076#M2698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you publish the service using a single reference to the featureclass with no query definition and load the layer twice to the web map and set the corresponding filters in the web map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566076#M2698</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-01-15T12:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566077#M2699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/people/xander_bakker"&gt;xander_bakker&lt;/A&gt;‌. Thanks for the suggestion. This would be a good workaround, but unfortunately not applicable in my case.&lt;/P&gt;&lt;P&gt;I would really need the Relationship Class functionality to work the way it is suposed to, which is the same as in ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 17:22:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566077#M2699</guid>
      <dc:creator>AlessandroValra</dc:creator>
      <dc:date>2018-01-15T17:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566078#M2700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that doesn't work (although I would like to know why you say it is not applicable in your case) you can always create two fearureclasses with the relationshipclass and publish that.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 18:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566078#M2700</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-01-15T18:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566079#M2701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Xander Bakker ha scritto:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why you say it is not applicable in your case&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Well, it's a matter of how my app which serves the GIS data through web is designed. I am not the developer and the "web map" is not the traditional map where you can make changes easily as in (e.g.) ArcGIS Online. Rather, I (more like, "the deveolpers I am working with) should make changes in the code, and this is not what the customers (and the developers) want, as this feature should be working as in desktop (ArcMap).&lt;/P&gt;&lt;P&gt;Anyway, the idea of creating two featureclasses is feasible and could probably be the most suitable workaround.&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, I'll accept the answer as I'll try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 08:46:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/566079#M2701</guid>
      <dc:creator>AlessandroValra</dc:creator>
      <dc:date>2018-01-16T08:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: REST - problems when a Relationship class is referencing multiple layers coming from the same Fature Class</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/1145806#M4081</link>
      <description>&lt;P&gt;Was there ever a resolution for this? I am experiencing this exact problem with Portal 10.8.1. I have been able to confirm it was resolved in 10.9.1 and AGOL. I am currently not set up to upgrade with my contract with the company who is hosting my virtual environment. I have asked them about upgrading and they are discussing, but it would be great if this was resolved with a patch.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 21:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-problems-when-a-relationship-class-is/m-p/1145806#M4081</guid>
      <dc:creator>VictorVizcaino</dc:creator>
      <dc:date>2022-02-18T21:42:15Z</dc:date>
    </item>
  </channel>
</rss>

