<?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: Adding related table to ArcGIS Online feature layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252884#M12443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked.&amp;nbsp; I recreated everything and can add the related records.&amp;nbsp; I am unable to see the related records through the default popup and such but I can through the data table and via custom arcade based popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still can't export as FGDB but I really don't have a reason too so I suppose it doesn't matter.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2019 19:08:26 GMT</pubDate>
    <dc:creator>EricGardecki1</dc:creator>
    <dc:date>2019-01-14T19:08:26Z</dc:date>
    <item>
      <title>Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252845#M12404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;I'm trying to figure out how to add a relationship class (related table one-to-many) to a feature layer within AGOL. I do not have ArcGIS Desktop or Server (do have QGIS but I don't think that will help here).&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;The only info I was able to find led me to believe that it may be possible by editing the service definition JSON but I can't find any reference as to how to edit it to make it work.&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;What are my options here?&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;Also, is viewing/editing/adding to related tables supported in AGOL web apps yet (not just Collector)?&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 18:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252845#M12404</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-08T18:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252846#M12405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/178745"&gt;Add data to a related table in ArcGIS Online&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like this idea is still in the &lt;A href="https://community.esri.com/space/2167"&gt;ArcGIS Ideas&lt;/A&gt;‌ phase but there is a potential work around in that thread that could help your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, this FAQ mentions that AGOL does support joins and relates and lists a couple of articles on how to do this. It's not very robust though:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000012168" title="https://support.esri.com/en/technical-article/000012168"&gt;FAQ: Does ArcGIS Online support joins and relates?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thread: this walks through how to properly share the related table in Pro:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/198458-publish-hosted-feature-service-with-related-tables-wont-work-with-arcgis-pro-20"&gt;https://community.esri.com/thread/198458-publish-hosted-feature-service-with-related-tables-wont-work-with-arcgis-pro-20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...but not having desktop might pose as a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 19:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252846#M12405</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2019-01-08T19:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252847#M12406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Adrian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on that info it does appear that AGOL does at least support the usage of the relates.&amp;nbsp; I still need to figure out how to actually create one in AGOL without Desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 19:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252847#M12406</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-08T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252848#M12407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how QGIS handles geodatabases but you can add a table to an AGOL map from a zipped geodatabase. Take a look at this article:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000015544" title="https://support.esri.com/en/technical-article/000015544"&gt;FAQ: Is it possible to publish standalone tables to ArcGIS Online?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instructions:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #595959; background-color: #ffffff; font-weight: 300; font-size: 0.9375rem; margin-bottom: 0.775rem;"&gt;Alternatively, the standalone table can also be opened in ArcGIS Online without using the publishing method. To do so:&lt;/P&gt;&lt;OL style="color: #4c4c4c; background-color: #ffffff; font-size: 0.9375rem; margin-bottom: 0.775rem;"&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Close all ArcGIS programs and zip the geodatabase that contains the table.&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Upload the zipped geodatabase file to ArcGIS Online as an item in My Content.&lt;/LI&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now relating it is a different story. I would have to play around with some stuff to see if it worked for me, so maybe it's worth trying that method?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252848#M12407</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2019-01-08T21:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252849#M12408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do support add relationship to existing feature service in online using feature service addToDefinition API.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;A href="http://warlocksds1.cloudapp.net/KhaledNG2/ArcGIS/rest/admin/services/AddRelToView/FeatureServer/0/addToDefinition"&gt;https://url/ArcGIS/rest/admin/services/&amp;lt;serviceName&amp;gt;/FeatureServer/0/addToDefinition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The origin layer and its related layer (table) has to exist. This API can only allow you to create a relationship between the two layers and be able to use queryRelated API on the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Example below, you will need to define the relationship for each layer which reference that other layer.&lt;/P&gt;&lt;P&gt;Pl. note, the relationshipId for both layer is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI we also support creating a view that joins both layers. Pl. let us know if you your workflow needs a view that has one layer that join both origin and destination layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khaled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp; "layers" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relationships" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "myRel", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relatedTableId" : 1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "cardinality" : "esriRelCardinalityOneToMany", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "role" : "esriRelRoleOrigin", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "keyField" : "&amp;lt;PrimaryKey&amp;gt;", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "composite" : &amp;lt;true | false&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp; ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp; },&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relationships" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "myRel", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relatedTableId" : 0, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "cardinality" : "esriRelCardinalityOneToMany", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "role" : "esriRelRoleDestination", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "keyField" : "&amp;lt;ForignKey&amp;gt;", &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "composite" : &amp;lt;true | false&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp; ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0in;"&gt;&lt;SPAN style="font-size: 8.5pt; color: #4d4d4d; border: none windowtext 1.0pt; padding: 0in;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:46:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252849#M12408</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-08T21:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252850#M12409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!&amp;nbsp; This is what I was expecting was necessary.&amp;nbsp; I will definitely play around with that.&amp;nbsp; Do you have a link to a reference that describes everything necessary in the "relationships" item and what the options are?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252850#M12409</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-08T21:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252851#M12410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I have a typo in the url for addToDefinition. It should be the feature service (not the layer) addToDefinition&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwarlocksds1.cloudapp.net%2FKhaledNG2%2FArcGIS%2Frest%2Fadmin%2Fservices%2FAddRelToView%2FFeatureServer%2F0%2FaddToDefinition" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://url/ArcGIS/rest/admin/services/&amp;lt;serviceName&amp;gt;/FeatureServer/addToDefinition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khaled Hassen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:56:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252851#M12410</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-08T21:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252852#M12411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem with that is that it won't maintain the relationship as that info is stored in the mxd, not the gdb.&amp;nbsp; There is no way thru the interface to add a relationship in AGOL.&amp;nbsp; However, based on Khaled's reply below, there does seem to be a way!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252852#M12411</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-08T21:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252853#M12412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not a relationship item and it is not related to the portal API. As you have noticed it is related to the layer relationships and can only be set using the feature servivce admin API. I will check check and see the documentation about this. The above example model one-many relationship between layers. You can define the relationship as a composite or not. In a composite relationship, the destination row will be deleted if you delete the origin feature/row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might be able to walk you through this if you have any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khaled Hassen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 22:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252853#M12412</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-08T22:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252854#M12413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Khaled,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I adding the "layers" tag?&amp;nbsp; It isn't a part of the JSON of my test layer.&amp;nbsp; I think i'm misunderstanding something as how can there be 2 layers within 1 feature layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSON I am looking at begins like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;{&lt;BR /&gt; "adminLayerInfo" : {&lt;BR /&gt; "tableName" : "...", &lt;BR /&gt; "geometryField" : {"name" : "Shape"}, &lt;BR /&gt; "xssTrustedFields" : ""&lt;BR /&gt; }, &lt;BR /&gt; "id" : 0, &lt;BR /&gt; "name" : "Point layer", &lt;BR /&gt; "type" : "Feature Layer",&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 18:38:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252854#M12413</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-09T18:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252855#M12414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a feature service addToDefinition admin API and this is why you can and need to add the layers array.&lt;/P&gt;&lt;P&gt;Pl. use:&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwarlocksds1.cloudapp.net%2FKhaledNG2%2FArcGIS%2Frest%2Fadmin%2Fservices%2FAddRelToView%2FFeatureServer%2F0%2FaddToDefinition" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://url/ArcGIS/rest/admin/services/&amp;lt;serviceName&amp;gt;/FeatureServer/addToDefinition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and pass similar json to the one I have added in my response and let me know if it does not work for you.&lt;/P&gt;&lt;P&gt;Pl. note it is /FeatureServer/addToDefinition so it is not a layer admin call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khaled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252855#M12414</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-09T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252856#M12415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do I need as a "serviceName" if it is NOT a layer?&amp;nbsp; A web map name?&amp;nbsp; I tried that and it says invalid url and I do not know what else it could be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252856#M12415</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-09T19:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252857#M12416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send me the url you are using the also the json used.&lt;/P&gt;&lt;P&gt;I will check and let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252857#M12416</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-09T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252858#M12417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I have the right URL now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I incorporating your sample JSON into what is already existing or completely deleting what is there and only adding something like your sample?&amp;nbsp; (presuming since there has to be a difference between addToDefinition and updateDefinition)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how am I defining what the 2nd layer is?&amp;nbsp; As in, a pointer to the name of the 2nd layer (table) so it knows which table is related?&amp;nbsp; I do not see any such reference in your sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any luck on any sort of documentation on this?&amp;nbsp; Seems to be a lot more to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252858#M12417</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-09T19:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252859#M12418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took the "layer" section from the JSON from the feature server for LayerB and added it to the JSON from the feature server for LayerA on the addToDefinition page.&amp;nbsp; Then incorporated the sample from above into the relationships sections.&amp;nbsp; Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel I have the JSON formatting correct but I received an error when trying to apply it.&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ffaaaa; background-color: #ffffff; font-size: 14.4px;"&gt;Invalid definition for System.Collections.Generic.List`1[ESRI.ArcGIS.SDS.Metadata.LayerCoreInfo]&lt;/SPAN&gt;&lt;BR style="color: #ffaaaa; background-color: #ffffff; font-size: 14.4px;" /&gt;&lt;SPAN style="color: #ffaaaa; background-color: #ffffff; font-size: 14.4px;"&gt;Exception has been thrown by the target of an invocation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the JSON I added (removed some things that may be private):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{&lt;BR /&gt; "adminServiceInfo" : {&lt;BR /&gt; "name" : "SampleData_Catch_Basins", &lt;BR /&gt; "type" : "FeatureServer", &lt;BR /&gt; "cacheMaxAge" : 0, &lt;BR /&gt; "status" : "Started", &lt;BR /&gt; "database" : {&lt;BR /&gt; "datasource" : {&lt;BR /&gt; "name" : "db"&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }, &lt;BR /&gt; "currentVersion" : 10.61, &lt;BR /&gt; "serviceItemId" : "...", &lt;BR /&gt; "serviceDescription" : "", &lt;BR /&gt; "hasVersionedData" : false, &lt;BR /&gt; "supportsDisconnectedEditing" : false, &lt;BR /&gt; "hasStaticData" : false, &lt;BR /&gt; "maxRecordCount" : 2000, &lt;BR /&gt; "supportedQueryFormats" : "JSON", &lt;BR /&gt; "supportsVCSProjection" : false, &lt;BR /&gt; "capabilities" : "Create,Delete,Query,Update,Editing,Sync,ChangeTracking", &lt;BR /&gt; "description" : "", &lt;BR /&gt; "copyrightText" : "", &lt;BR /&gt; "spatialReference" : {&lt;BR /&gt; "wkid" : 102100, &lt;BR /&gt; "latestWkid" : 3857&lt;BR /&gt; }, &lt;BR /&gt; "initialExtent" : {&lt;BR /&gt; "xmin" : -8652196.102416249, &lt;BR /&gt; "ymin" : 5104375.070647859, &lt;BR /&gt; "xmax" : -8648522.5592200719, &lt;BR /&gt; "ymax" : 5105715.3676761677, &lt;BR /&gt; "spatialReference" : {&lt;BR /&gt; "wkid" : 102100, &lt;BR /&gt; "latestWkid" : 3857&lt;BR /&gt; }&lt;BR /&gt; }, &lt;BR /&gt; "fullExtent" : {&lt;BR /&gt; "xmin" : -8652196.102416249, &lt;BR /&gt; "ymin" : 5104375.070647859, &lt;BR /&gt; "xmax" : -8648522.5592200719, &lt;BR /&gt; "ymax" : 5105715.3676761677, &lt;BR /&gt; "spatialReference" : {&lt;BR /&gt; "wkid" : 102100, &lt;BR /&gt; "latestWkid" : 3857&lt;BR /&gt; }&lt;BR /&gt; }, &lt;BR /&gt; "allowGeometryUpdates" : true, &lt;BR /&gt; "units" : "esriMeters", &lt;BR /&gt; "supportsAppend" : true, &lt;BR /&gt; "size" : 16384, &lt;BR /&gt; "syncEnabled" : true, &lt;BR /&gt; "syncCapabilities" : {&lt;BR /&gt; "supportsAsync" : true, &lt;BR /&gt; "supportsRegisteringExistingData" : true, &lt;BR /&gt; "supportsSyncDirectionControl" : true, &lt;BR /&gt; "supportsPerLayerSync" : true, &lt;BR /&gt; "supportsPerReplicaSync" : true, &lt;BR /&gt; "supportsSyncModelNone" : true, &lt;BR /&gt; "supportsRollbackOnFailure" : true, &lt;BR /&gt; "supportsAttachmentsSyncDirection" : true&lt;BR /&gt; }, &lt;BR /&gt; "extractChangesCapabilities" : {&lt;BR /&gt; "supportsReturnIdsOnly" : false, &lt;BR /&gt; "supportsReturnExtentOnly" : true, &lt;BR /&gt; "supportsReturnAttachments" : true, &lt;BR /&gt; "supportsLayerQueries" : true, &lt;BR /&gt; "supportsGeometry" : true, &lt;BR /&gt; "supportsFeatureReturn" : true&lt;BR /&gt; }, &lt;BR /&gt; "supportsApplyEditsWithGlobalIds" : true, &lt;BR /&gt; "editorTrackingInfo" : {&lt;BR /&gt; "enableEditorTracking" : true, &lt;BR /&gt; "enableOwnershipAccessControl" : false, &lt;BR /&gt; "allowOthersToQuery" : true, &lt;BR /&gt; "allowOthersToUpdate" : true, &lt;BR /&gt; "allowOthersToDelete" : true, &lt;BR /&gt; "allowAnonymousToQuery" : true, &lt;BR /&gt; "allowAnonymousToUpdate" : true, &lt;BR /&gt; "allowAnonymousToDelete" : true&lt;BR /&gt; }, &lt;BR /&gt; "changeTrackingInfo" : &lt;BR /&gt; {&lt;BR /&gt; "lastSyncDate" : 1536634415665, &lt;BR /&gt; "layerServerGens" : [&lt;BR /&gt; {&lt;BR /&gt; "id" : 0, &lt;BR /&gt; "minServerGen" : 8005, &lt;BR /&gt; "serverGen" : 8005&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt; }, &lt;BR /&gt; "xssPreventionInfo" : {&lt;BR /&gt; "xssPreventionEnabled" : true, &lt;BR /&gt; "xssPreventionRule" : "InputOnly", &lt;BR /&gt; "xssInputRule" : "rejectInvalid"&lt;BR /&gt; }, &lt;BR /&gt; "layers" : [&lt;BR /&gt; {&lt;BR /&gt; "adminLayerInfo" : {&lt;BR /&gt; "tableName" : "...", &lt;BR /&gt; "geometryField" : {"name" : "Shape"}, &lt;BR /&gt; "xssTrustedFields" : ""&lt;BR /&gt; }, &lt;BR /&gt; "id" : 0, &lt;BR /&gt; "name" : "Point layer", &lt;BR /&gt; "type" : "Feature Layer", &lt;BR /&gt; "displayField" : "", &lt;BR /&gt; "description" : "", &lt;BR /&gt; "copyrightText" : "", &lt;BR /&gt; "defaultVisibility" : true, &lt;BR /&gt; "editFieldsInfo" : {&lt;BR /&gt; "creationDateField" : "CreationDate", &lt;BR /&gt; "creatorField" : "Creator", &lt;BR /&gt; "editDateField" : "EditDate", &lt;BR /&gt; "editorField" : "Editor"&lt;BR /&gt; }, &lt;BR /&gt; "editingInfo" : {&lt;BR /&gt; "lastEditDate" : 1537206552230&lt;BR /&gt; }, &lt;BR /&gt; "relationships" : [&lt;BR /&gt; {&lt;BR /&gt; "id" : 1,&lt;BR /&gt; "name" : "myRel",&lt;BR /&gt; "relatedTableId" : 1,&lt;BR /&gt; "cardinality" : "esriRelCardinalityOneToMany",&lt;BR /&gt; "role" : "esriRelRoleOrigin",&lt;BR /&gt; "keyField" : "GlobalID",&lt;BR /&gt; "composite" : false&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "isDataVersioned" : false, &lt;BR /&gt; "supportsAppend" : true, &lt;BR /&gt; "supportsCalculate" : true, &lt;BR /&gt; "supportsASyncCalculate" : true, &lt;BR /&gt; "supportsTruncate" : false, &lt;BR /&gt; "supportsAttachmentsByUploadId" : true, &lt;BR /&gt; "supportsAttachmentsResizing" : true, &lt;BR /&gt; "supportsRollbackOnFailureParameter" : true, &lt;BR /&gt; "supportsStatistics" : true, &lt;BR /&gt; "supportsExceedsLimitStatistics" : true, &lt;BR /&gt; "supportsAdvancedQueries" : true, &lt;BR /&gt; "supportsValidateSql" : true, &lt;BR /&gt; "supportsCoordinatesQuantization" : true, &lt;BR /&gt; "supportsQuantizationEditMode" : true, &lt;BR /&gt; "supportsApplyEditsWithGlobalIds" : true, &lt;BR /&gt; "advancedQueryCapabilities" : {&lt;BR /&gt; "supportsPagination" : true, &lt;BR /&gt; "supportsPaginationOnAggregatedQueries" : true, &lt;BR /&gt; "supportsQueryRelatedPagination" : true, &lt;BR /&gt; "supportsQueryWithDistance" : true, &lt;BR /&gt; "supportsReturningQueryExtent" : true, &lt;BR /&gt; "supportsStatistics" : true, &lt;BR /&gt; "supportsOrderBy" : true, &lt;BR /&gt; "supportsDistinct" : true, &lt;BR /&gt; "supportsQueryWithResultType" : true, &lt;BR /&gt; "supportsSqlExpression" : true, &lt;BR /&gt; "supportsAdvancedQueryRelated" : true, &lt;BR /&gt; "supportsCountDistinct" : true, &lt;BR /&gt; "supportsQueryAttachments" : true, &lt;BR /&gt; "supportsReturningGeometryCentroid" : false, &lt;BR /&gt; "supportsQueryWithDatumTransformation" : true, &lt;BR /&gt; "supportsHavingClause" : true, &lt;BR /&gt; "supportsOutFieldSQLExpression" : true, &lt;BR /&gt; "supportsMaxRecordCountFactor" : true, &lt;BR /&gt; "supportsTopFeaturesQuery" : true&lt;BR /&gt; }, &lt;BR /&gt; "useStandardizedQueries" : true, &lt;BR /&gt; "geometryType" : "esriGeometryPoint", &lt;BR /&gt; "minScale" : 0, &lt;BR /&gt; "maxScale" : 0, &lt;BR /&gt; "extent" : {&lt;BR /&gt; "xmin" : -8652196.102416249, &lt;BR /&gt; "ymin" : 5104375.070647859, &lt;BR /&gt; "xmax" : -8648522.5592200719, &lt;BR /&gt; "ymax" : 5105715.3676761677, &lt;BR /&gt; "spatialReference" : {&lt;BR /&gt; "wkid" : 102100, &lt;BR /&gt; "latestWkid" : 3857&lt;BR /&gt; }&lt;BR /&gt; }, &lt;BR /&gt; "drawingInfo":{"renderer":{"type":"simple","symbol":{"angle":0,"xoffset":0,"yoffset":0,"type":"esriPMS","url":"287c0bfa-518b-4ace-a8bf-c58ea264fdea","imageData":"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQBQYWludC5ORVQgdjMuNS4xTuc4+QAAB3VJREFUeF7tmPlTlEcexnve94U5mANQbgQSbgiHXHINlxpRIBpRI6wHorLERUmIisKCQWM8cqigESVQS1Kx1piNi4mW2YpbcZONrilE140RCTcy3DDAcL/zbJP8CYPDL+9Ufau7uqb7eZ7P+/a8PS8hwkcgIBAQCAgEBAICAYGAQEAgIBAQCAgEBAICAYGAQEAgIBAQCDx/AoowKXFMUhD3lQrioZaQRVRS+fxl51eBTZUTdZ41U1Rox13/0JF9csGJ05Qv4jSz/YPWohtvLmSKN5iTGGqTm1+rc6weICOBRbZs1UVnrv87T1PUeovxyNsUP9P6n5cpHtCxu24cbrmwKLdj+osWiqrVKhI0xzbmZ7m1SpJ+1pFpvE2DPvGTomOxAoNLLKGLscZYvB10cbYYjrJCb7A5mrxleOBqim+cWJRakZY0JfnD/LieI9V1MrKtwokbrAtU4Vm0A3TJnphJD4B+RxD0u0LA7w7FTE4oprOCMbklEGNrfdGf4IqnQTb4wc0MFTYibZqM7JgjO8ZdJkpMln/sKu16pHZGb7IfptIWg389DPp9kcChWODoMuDdBOhL1JgpisbUvghM7AqFbtNiaFP80RLnhbuBdqi0N+1dbUpWGde9gWpuhFi95yL7sS7BA93JAb+Fn8mh4QujgPeTgb9kAZf3Apd2A+fXQ38yHjOHozB1IAJjOSEY2RSIwVUv4dd4X9wJccGHNrJ7CYQ4GGjLeNNfM+dyvgpzQstKf3pbB2A6m97uBRE0/Ergcxr8hyqg7hrwn0vAtRIKIRX6Y2pMl0RhIj8co9nBGFrvh55l3ngU7YObng7IVnFvGS+BYUpmHziY/Ls2zgP9SX50by/G9N5w6I+ogYvpwK1SoOlHQNsGfWcd9Peqof88B/rTyzF9hAIopAByQzC0JQB9ST5oVnvhnt+LOGsprvUhxNIwa0aY7cGR6Cp7tr8+whkjawIxkRWC6YJI6N+lAKq3Qf/Tx+B77oGfaQc/8hB8w2Xwtw9Bf3kzZspXY/JIDEbfpAB2BKLvVV90Jvjgoac9vpRxE8kciTVCBMMkNirJ7k/tRHyjtxwjKV4Yp3t/6s+R4E+/DH3N6+BrS8E314Dvvg2+/Sb4hxfBf5sP/up2TF3ZhonK1zD6dhwGdwail26DzqgX8MRKiq9ZBpkSkmeYOyPM3m9Jjl+1Z9D8AgNtlAq6bZ70qsZi+q+bwV/7I/hbB8D/dAr8Axq89iz474p/G5++koHJy1sx/lkGdBc2YjA3HF0rHNHuboomuQj/5DgclIvOGCGCYRKFFuTMV7YUAD3VDQaLMfyqBcZORGPy01QKYSNm/rYV/Nd/Av9NHvgbueBrsjDzRQamKKDxT9Kgq1iLkbIUDOSHoiNcgnYHgnYZi+9ZExSbiSoMc2eE2flKcuJLa4KGRQz6/U0wlGaP0feiMH4uFpMXEjBVlYjp6lWY+SSZtim0kulYMiYuJEJXuhTDJ9UYPByOvoIwdCxfgE4bAo0Jh39xLAoVpMwIEQyTyFCQvGpLon9sJ0K3J4OBDDcMH1dj9FQsxkrjMPFRPCbOx2GyfLal9VEcxstioTulxjAFNfROJPqLl6Bnfyg6V7ugz5yBhuHwrZjBdiU5YJg7I8wOpifAKoVIW7uQ3rpOBH2b3ekVjYT2WCRG3o+mIGKgO0OrlIaebU/HYOQDNbQnojB4NJyGD0NPfjA0bwTRE6Q7hsUcWhkWN8yZqSQlWWGECAZLmJfJmbrvVSI8taK37xpbdB/wQW8xPee/8xIGjvlj8IQ/hk4G0JbWcX8MHPVDX4kveoq8ocn3xLM33NCZRcPHOGJYZIKfpQyq7JjHS6yJjcHujLHADgkpuC7h8F8zEVqXSNC2awE69lqhs8AamkO26HrbDt2H7dBVQov2NcW26CiwQtu+BWjdY4n2nZboTbfCmKcCnRyDO/YmyLPnDlHvjDH8G6zhS9/wlEnYR7X00fWrFYuWdVI0ZpuhcbcczW/R2qdAcz6t/bRov4mONeaaoYl+p22rHF0bVNAmKtBvweIXGxNcfFH8eNlC4m6wMWMusEnKpn5hyo48pj9gLe4SNG9QoGGLAk8z5XiaJUd99u8122/IpBA2K9BGg2vWWKAvRYVeLzEa7E1R422m2+MsSTem97nSYnfKyN6/mzATv7AUgqcMrUnmaFlLX3ysM0fj+t/b5lQLtK22QEfyAmiSLKFZpUJ7kBRPXKW4HqCYynWVHKSG2LkyZex1uO1mZM9lKem9Tx9jjY5iNEYo0bKMhn7ZAu0r6H5PpLXCAq0rKJClSjSGynE/QIkrQYqBPe6S2X+AJsY2Ped6iWZk6RlL0c2r5szofRsO9R5S1IfQLRCpQL1aifoYFerpsbkuTImaUJXuXIDiH6/Ys8vm3Mg8L2i20YqsO7fItKLcSXyn0kXccclVqv3MS6at9JU/Ox+ouns+SF6Z4cSupz7l8+z1ucs7LF1AQjOdxfGZzmx8Iu1TRcfnrioICAQEAgIBgYBAQCAgEBAICAQEAgIBgYBAQCAgEBAICAQEAv8H44b/6ZiGvGAAAAAASUVORK5CYII=","contentType":"image/png","width":15,"height":15}},"transparency":0}, &lt;BR /&gt; "allowGeometryUpdates" : true, &lt;BR /&gt; "hasAttachments" : true, &lt;BR /&gt; &lt;BR /&gt; "attachmentProperties" : [&lt;BR /&gt; {&lt;BR /&gt; "name" : "name", &lt;BR /&gt; "isEnabled" : true&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "size", &lt;BR /&gt; "isEnabled" : true&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "contentType", &lt;BR /&gt; "isEnabled" : true&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "keywords", &lt;BR /&gt; "isEnabled" : true&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "htmlPopupType" : "esriServerHTMLPopupTypeNone", &lt;BR /&gt; "hasM" : false, &lt;BR /&gt; "hasZ" : false, &lt;BR /&gt; "objectIdField" : "FID", &lt;BR /&gt; "globalIdField" : "GlobalID", &lt;BR /&gt; "typeIdField" : "", &lt;BR /&gt; "fields" : [&lt;BR /&gt; {&lt;BR /&gt; "name" : "FID", &lt;BR /&gt; "type" : "esriFieldTypeOID", &lt;BR /&gt; "actualType" : "int", &lt;BR /&gt; "alias" : "FID", &lt;BR /&gt; "sqlType" : "sqlTypeInteger", &lt;BR /&gt; "nullable" : false, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "GlobalID", &lt;BR /&gt; "type" : "esriFieldTypeGlobalID", &lt;BR /&gt; "alias" : "", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 38, &lt;BR /&gt; "nullable" : false, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "CreationDate", &lt;BR /&gt; "type" : "esriFieldTypeDate", &lt;BR /&gt; "alias" : "CreationDate", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 8, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "Creator", &lt;BR /&gt; "type" : "esriFieldTypeString", &lt;BR /&gt; "alias" : "Creator", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 128, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "EditDate", &lt;BR /&gt; "type" : "esriFieldTypeDate", &lt;BR /&gt; "alias" : "EditDate", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 8, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "Editor", &lt;BR /&gt; "type" : "esriFieldTypeString", &lt;BR /&gt; "alias" : "Editor", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 128, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "InspectionDate", &lt;BR /&gt; "type" : "esriFieldTypeDate", &lt;BR /&gt; "alias" : "Inspection Date", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 0, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "AmtRemoved", &lt;BR /&gt; "type" : "esriFieldTypeDouble", &lt;BR /&gt; "alias" : "Pounds of Debris Removed", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "NeedsRepair", &lt;BR /&gt; "type" : "esriFieldTypeString", &lt;BR /&gt; "alias" : "Needs Repair?", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 3, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : "No"&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "RepairType", &lt;BR /&gt; "type" : "esriFieldTypeString", &lt;BR /&gt; "alias" : "Type of Repairs", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 256, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "Notes", &lt;BR /&gt; "type" : "esriFieldTypeString", &lt;BR /&gt; "alias" : "", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "length" : 256, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "YearInspected", &lt;BR /&gt; "type" : "esriFieldTypeInteger", &lt;BR /&gt; "alias" : "Year Inspected", &lt;BR /&gt; "sqlType" : "sqlTypeOther", &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : 2018&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "indexes" : [&lt;BR /&gt; {&lt;BR /&gt; "name" : "GlobalID_Index", &lt;BR /&gt; "fields" : "GlobalID", &lt;BR /&gt; "isAscending" : false, &lt;BR /&gt; "isUnique" : true, &lt;BR /&gt; "description" : ""&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "...", &lt;BR /&gt; "fields" : "Shape", &lt;BR /&gt; "isAscending" : false, &lt;BR /&gt; "isUnique" : false, &lt;BR /&gt; "description" : "Shape Index"&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "PK__SampleDa__C1BEA5A2744565A2", &lt;BR /&gt; "fields" : "FID", &lt;BR /&gt; "isAscending" : true, &lt;BR /&gt; "isUnique" : true, &lt;BR /&gt; "description" : "clustered, unique, primary key"&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "CreationDateIndex", &lt;BR /&gt; "fields" : "CreationDate", &lt;BR /&gt; "isAscending" : true, &lt;BR /&gt; "isUnique" : false, &lt;BR /&gt; "description" : "CreationDate Field index"&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "CreatorIndex", &lt;BR /&gt; "fields" : "Creator", &lt;BR /&gt; "isAscending" : false, &lt;BR /&gt; "isUnique" : false, &lt;BR /&gt; "description" : "Creator Field index"&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "EditDateIndex", &lt;BR /&gt; "fields" : "EditDate", &lt;BR /&gt; "isAscending" : true, &lt;BR /&gt; "isUnique" : false, &lt;BR /&gt; "description" : "EditDate Field index"&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "EditorIndex", &lt;BR /&gt; "fields" : "Editor", &lt;BR /&gt; "isAscending" : false, &lt;BR /&gt; "isUnique" : false, &lt;BR /&gt; "description" : "Editor Field index"&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "types" : [], &lt;BR /&gt; "templates" : [&lt;BR /&gt; {&lt;BR /&gt; "name" : "New Feature", &lt;BR /&gt; "description" : "", &lt;BR /&gt; "drawingTool" : "esriFeatureEditToolNone", &lt;BR /&gt; "prototype" : {&lt;BR /&gt; "attributes" : {&lt;BR /&gt; "InspectionDate" : null, &lt;BR /&gt; "AmtRemoved" : null, &lt;BR /&gt; "NeedsRepair" : "No", &lt;BR /&gt; "RepairType" : null, &lt;BR /&gt; "Notes" : null, &lt;BR /&gt; "YearInspected" : 2018&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "supportedQueryFormats" : "JSON, geoJSON", &lt;BR /&gt; "hasStaticData" : false, &lt;BR /&gt; "maxRecordCount" : 2000, &lt;BR /&gt; "standardMaxRecordCount" : 32000, &lt;BR /&gt; "tileMaxRecordCount" : 8000, &lt;BR /&gt; "maxRecordCountFactor" : 1, &lt;BR /&gt; "capabilities" : "Create,Delete,Query,Update,Editing,Sync,ChangeTracking", &lt;BR /&gt; "exceedsLimitFactor" : 1&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; "adminLayerInfo" : {&lt;BR /&gt; "tableName" : "...", "geometryField" : null, &lt;BR /&gt; "xssTrustedFields" : ""&lt;BR /&gt; }, &lt;BR /&gt; "id" : 1, &lt;BR /&gt; "name" : "CatchBasinInspections", &lt;BR /&gt; "type" : "Table", &lt;BR /&gt; "displayField" : "", &lt;BR /&gt; "description" : "", &lt;BR /&gt; "copyrightText" : "", &lt;BR /&gt; "defaultVisibility" : true, &lt;BR /&gt; "editingInfo" : {&lt;BR /&gt; "lastEditDate" : null&lt;BR /&gt; }, &lt;BR /&gt; "relationships" : [&lt;BR /&gt; {&lt;BR /&gt; "id" : 1,&lt;BR /&gt; "name" : "myRel",&lt;BR /&gt; "relatedTableId" : 0,&lt;BR /&gt; "cardinality" : "esriRelCardinalityOneToMany",&lt;BR /&gt; "role" : "esriRelRoleDestination",&lt;BR /&gt; "keyField" : "reference",&lt;BR /&gt; "composite" : false&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "isDataVersioned" : false, &lt;BR /&gt; "supportsAppend" : true, &lt;BR /&gt; "supportsCalculate" : true, &lt;BR /&gt; "supportsASyncCalculate" : true, &lt;BR /&gt; "supportsTruncate" : false, &lt;BR /&gt; "supportsAttachmentsByUploadId" : true, &lt;BR /&gt; "supportsAttachmentsResizing" : true, &lt;BR /&gt; "supportsRollbackOnFailureParameter" : true, &lt;BR /&gt; "supportsStatistics" : true, &lt;BR /&gt; "supportsExceedsLimitStatistics" : true, &lt;BR /&gt; "supportsAdvancedQueries" : true, &lt;BR /&gt; "supportsValidateSql" : true, &lt;BR /&gt; "supportsCoordinatesQuantization" : true, &lt;BR /&gt; "supportsQuantizationEditMode" : true, &lt;BR /&gt; "supportsApplyEditsWithGlobalIds" : false, &lt;BR /&gt; "advancedQueryCapabilities" : {&lt;BR /&gt; "supportsPagination" : true, &lt;BR /&gt; "supportsPaginationOnAggregatedQueries" : true, &lt;BR /&gt; "supportsQueryRelatedPagination" : true, &lt;BR /&gt; "supportsQueryWithDistance" : true, &lt;BR /&gt; "supportsReturningQueryExtent" : true, &lt;BR /&gt; "supportsStatistics" : true, &lt;BR /&gt; "supportsOrderBy" : true, &lt;BR /&gt; "supportsDistinct" : true, &lt;BR /&gt; "supportsQueryWithResultType" : true, &lt;BR /&gt; "supportsSqlExpression" : true, &lt;BR /&gt; "supportsAdvancedQueryRelated" : true, &lt;BR /&gt; "supportsCountDistinct" : true, &lt;BR /&gt; "supportsReturningGeometryCentroid" : false, &lt;BR /&gt; "supportsQueryWithDatumTransformation" : true, &lt;BR /&gt; "supportsHavingClause" : true, &lt;BR /&gt; "supportsOutFieldSQLExpression" : true, &lt;BR /&gt; "supportsMaxRecordCountFactor" : true, &lt;BR /&gt; "supportsTopFeaturesQuery" : true&lt;BR /&gt; }, &lt;BR /&gt; "useStandardizedQueries" : true, &lt;BR /&gt; "allowGeometryUpdates" : true, &lt;BR /&gt; "hasAttachments" : false, &lt;BR /&gt; "htmlPopupType" : "esriServerHTMLPopupTypeNone", &lt;BR /&gt; "hasM" : false, &lt;BR /&gt; "hasZ" : false, &lt;BR /&gt; "objectIdField" : "ObjectId", &lt;BR /&gt; "globalIdField" : "", &lt;BR /&gt; "typeIdField" : "", &lt;BR /&gt; "fields" : [&lt;BR /&gt; {&lt;BR /&gt; "name" : "reference", &lt;BR /&gt; "type" : "esriFieldTypeInteger", &lt;BR /&gt; "actualType" : "int", &lt;BR /&gt; "alias" : "reference", &lt;BR /&gt; "sqlType" : "sqlTypeInteger", &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "Insp_date", &lt;BR /&gt; "type" : "esriFieldTypeDate", &lt;BR /&gt; "actualType" : "datetime2", &lt;BR /&gt; "alias" : "Insp_date", &lt;BR /&gt; "sqlType" : "sqlTypeTimestamp2", &lt;BR /&gt; "length" : 8, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "notes", &lt;BR /&gt; "type" : "esriFieldTypeString", &lt;BR /&gt; "actualType" : "nvarchar", &lt;BR /&gt; "alias" : "notes", &lt;BR /&gt; "sqlType" : "sqlTypeNVarchar", &lt;BR /&gt; "length" : 256, &lt;BR /&gt; "nullable" : true, &lt;BR /&gt; "editable" : true, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }, &lt;BR /&gt; {&lt;BR /&gt; "name" : "ObjectId", &lt;BR /&gt; "type" : "esriFieldTypeOID", &lt;BR /&gt; "actualType" : "int", &lt;BR /&gt; "alias" : "ObjectId", &lt;BR /&gt; "sqlType" : "sqlTypeInteger", &lt;BR /&gt; "nullable" : false, &lt;BR /&gt; "editable" : false, &lt;BR /&gt; "visible" : true, &lt;BR /&gt; "domain" : null, &lt;BR /&gt; "defaultValue" : null&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "indexes" : [&lt;BR /&gt; {&lt;BR /&gt; "name" : "PK__CATCHBAS__9A61929115D6101B", &lt;BR /&gt; "fields" : "ObjectId", &lt;BR /&gt; "isAscending" : true, &lt;BR /&gt; "isUnique" : true, &lt;BR /&gt; "description" : "clustered, unique, primary key"&lt;BR /&gt; }&lt;BR /&gt; ], &lt;BR /&gt; "types" : [], &lt;BR /&gt; "templates" : [], &lt;BR /&gt; "supportedQueryFormats" : "JSON, geoJSON", &lt;BR /&gt; "hasStaticData" : true, &lt;BR /&gt; "maxRecordCount" : 2000, &lt;BR /&gt; "standardMaxRecordCount" : 32000, &lt;BR /&gt; "tileMaxRecordCount" : 8000, &lt;BR /&gt; "maxRecordCountFactor" : 1, &lt;BR /&gt; "capabilities" : "Query", &lt;BR /&gt; "exceedsLimitFactor" : 1&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252859#M12418</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-09T20:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252860#M12419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry this is not documented well so I could not find the doc for you to use. Will work with the team to get this documented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you will need to follows the example I have sent you. Only what I have included in my example is needed. Before you do anything, pl. send me the full url (strip the token) and the json used. The json you have used in your last message is not correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;gt;Also, how am I defining what the 2nd layer is?&amp;nbsp; As in, a pointer to the name of the 2nd layer (table) so it knows which &amp;gt;table is related?&amp;nbsp; I do not see any such reference in your sample.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;All what you really need to figure out is the followings:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Origin layer Id&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Destination layer id&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Primary key in the origin layer (field name that acts as a primary key)&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Foreign key in the destination layer.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You just need to replace these in the example json I sent you.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have added some comments below.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwarlocksds1.cloudapp.net%2FKhaledNG2%2FArcGIS%2Frest%2Fadmin%2Fservices%2FAddRelToView%2FFeatureServer%2F0%2FaddToDefinition" rel="nofollow" style="color: #287433; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://url/ArcGIS/rest/admin/services/&amp;lt;serviceName&amp;gt;/FeatureServer/addToDefinition&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp; "layers" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relationships" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "myRel",&amp;nbsp; // &amp;lt;name&amp;gt; for your relationshp. Any name is accepted&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relatedTableId" : 1,&amp;nbsp; //&amp;nbsp; (table or related layer Id) &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "cardinality" : "esriRelCardinalityOneToMany",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "role" : "esriRelRoleOrigin",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "keyField" : "&amp;lt;PrimaryKey&amp;gt;",&amp;nbsp; // Origin primary key like GlobalId if the relationship based on globalId&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "composite" : &amp;lt;true | false&amp;gt; // Not sure if you need composite but set it to false if you do not need it&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp; ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp; },&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relationships" : [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id" : 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "myRel",&amp;nbsp; // use the same name you defined above for the relationship name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "relatedTableId" : 0,&amp;nbsp; // This is the layerId of the origin&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "cardinality" : "esriRelCardinalityOneToMany",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "role" : "esriRelRoleDestination",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "keyField" : "&amp;lt;ForignKey&amp;gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "composite" : &amp;lt;true | false&amp;gt; //&amp;nbsp;&lt;SPAN style="background-color: #eeeeee;"&gt;// Not sure if you need composite but set it to false if you do not need it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;&amp;nbsp; ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;&amp;nbsp;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #eeeeee; border: none; margin: 0px 0px 0.0001pt; padding: 0in;"&gt;&lt;SPAN style="color: #4d4d4d; border: 1pt none windowtext; font-weight: inherit; font-size: 8.5pt; padding: 0in;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 21:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252860#M12419</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-09T21:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252861#M12420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/335824"&gt;Eric Gardecki&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering what you want to do once you have your relationship class defined in the service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask since there are a couple of "solutions" that will work without having a relationship class in your data. An example is filtering&amp;nbsp;data in a dashboard (operations dashboard will not recognize your relationship class and you can define fields that will be used to do the cross filtering). Another example is Insights which will allow you to configure relationships in your worksheet and if you want to visualize an aggregation of your related data in for instance the pop-up of a feature you could retrieve the related records without the need for a relationship class using Arcade. A description of how this works can be found here:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-12773-using-featuresetby-functions-in-arcade-to-drill-down-to-other-layers-and-tables"&gt;https://community.esri.com/docs/DOC-12773-using-featuresetby-functions-in-arcade-to-drill-down-to-other-layers-and-tables&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 21:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252861#M12420</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-01-09T21:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252862#M12421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In feature services, client normally use queryRelated API to find out related rows to an origin or vise versa.&lt;/P&gt;&lt;P&gt;Another use case is to define composite relationship between origin layer and its destination layer. Deleting an origin row would delete the related row and if it is not composite the feature service would set null or remove the related rows by setting null in the foreign key.&lt;/P&gt;&lt;P&gt;In the top of all these, editing is the main requirement to use relationships.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All other solutions in arcgis are read only join.&lt;/P&gt;&lt;P&gt;We do offer similar functionality (similar to insight) build in the feature service to do join and combine the two layers into one join layer. If the join layer is what the client needs, it will be good to continue and model it inside the feature service rather than external services like insight since all clients can use the REST API on the feature service join layer as any other non-join layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 21:56:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252862#M12421</guid>
      <dc:creator>KhaledHassen</dc:creator>
      <dc:date>2019-01-09T21:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252863#M12422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do something similar to the esri Collector sample for fire hydrant inspections.&amp;nbsp; I will have a layer for catch basins, that need inspecting.&amp;nbsp; Each inspection needs to be recorded and kept for historical purposes.&amp;nbsp; Hence the related table, which would house the inspections for the catch basin layer.&amp;nbsp; So when a user does an inspection via Collector, they click on the feature and add a new related record.&amp;nbsp; The inspections MAY need to be entered via a web app at times, and I will need to display the features in a manner that shows&amp;nbsp;which features have been/not been inspected&amp;nbsp;within a given time period.&amp;nbsp; I will need a dashboard displaying assorted status information.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't looked into what issues I may encounter when trying to used related records to symbolize and extract for a dashboard but hopefully that wouldn't be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is another way to accomplish this, i'm all ears!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 22:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252863#M12422</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-09T22:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding related table to ArcGIS Online feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252864#M12423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still missing something.&amp;nbsp; Still do not know how this references the 2nd layer.&amp;nbsp; So the JSON for LayerA has one layer, id "0".&amp;nbsp; LayerB has one layer, id "0".&amp;nbsp; &amp;nbsp;You keep saying just add the id of the layer but that doesn't make sense as then there would be two with "0" and that doesn't reference the other layer in any way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, LayerA is just a shapefile I uploaded. LayerB is a csv, also uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my JSON pasted above, I added the entire section where there is a 2nd layer (made it id 1).&amp;nbsp; So removing that you would see what the existing JSON is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when finally adding the correct JSON, I would remove what is already existing in the addToDefinition, and replace with the new (much simpler) one?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 22:21:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/adding-related-table-to-arcgis-online-feature/m-p/252864#M12423</guid>
      <dc:creator>EricGardecki1</dc:creator>
      <dc:date>2019-01-09T22:21:11Z</dc:date>
    </item>
  </channel>
</rss>

