<?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 Is it possible to target multiple related tables of an existing service? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1384767#M54913</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I publish a survey as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Geopoint&lt;UL&gt;&lt;LI&gt;Table 1 (repeat)&lt;/LI&gt;&lt;LI&gt;Table 2 (repeat)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I then publish a second survey targeting the existing service with the intention of using a custom url to pass the point globalid and add records to the tables. I want to populate both Table 1 and Table 2 in the one survey.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table 1&lt;/LI&gt;&lt;LI&gt;Table 2 (&lt;EM&gt;currently a&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;repeat in the form, to recognize as second table)&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This works well for one table, but having two tables gives issues like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;two 'parentglobalid' fields needing to be present/populated from the custom url parameter&lt;/LI&gt;&lt;LI&gt;Error 'Destination relationship not found for table'&lt;/LI&gt;&lt;LI&gt;Error 'parent layer not found for table'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These seem reasonable with how repeats are used within survey design.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe I can bypass these issues by having table 2 be nested when first publishing and creating the hosted feature layer. But then I believe Table 2 won't have a direct relationship to the geopoint layer, but to Table 1? This is an issue later as we want a globalid-parentglobalid relationship between the Table 2 and the Layer for other surveys and mapping. I could add a custom guid field to store the layer globalid in Table 2 so it ends up like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Layer (globalid)&lt;UL&gt;&lt;LI&gt;Table1 (globalid, parentglobalid)&lt;/LI&gt;&lt;LI&gt;Table2 (globalid, parentglobalid [&lt;EM&gt;Table1&lt;/EM&gt;], customguid [&lt;EM&gt;Layer&lt;/EM&gt;]&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is it possible to submit against both tables but maintain the global/parentglobalid between the layer and table 2?&lt;BR /&gt;If not, is it possible to create an additional relationship class between the Table2 customguid and Layer globalid? Any comments on the +/- of doing so?&lt;/P&gt;&lt;P&gt;Otherwise does anyone have any good insight, suggestions or resources on working with relationships/guids with multiple repeats and targeting existing services?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 07:14:51 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2024-02-21T07:14:51Z</dc:date>
    <item>
      <title>Is it possible to target multiple related tables of an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1384767#M54913</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I publish a survey as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Geopoint&lt;UL&gt;&lt;LI&gt;Table 1 (repeat)&lt;/LI&gt;&lt;LI&gt;Table 2 (repeat)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I then publish a second survey targeting the existing service with the intention of using a custom url to pass the point globalid and add records to the tables. I want to populate both Table 1 and Table 2 in the one survey.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Table 1&lt;/LI&gt;&lt;LI&gt;Table 2 (&lt;EM&gt;currently a&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;repeat in the form, to recognize as second table)&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This works well for one table, but having two tables gives issues like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;two 'parentglobalid' fields needing to be present/populated from the custom url parameter&lt;/LI&gt;&lt;LI&gt;Error 'Destination relationship not found for table'&lt;/LI&gt;&lt;LI&gt;Error 'parent layer not found for table'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These seem reasonable with how repeats are used within survey design.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe I can bypass these issues by having table 2 be nested when first publishing and creating the hosted feature layer. But then I believe Table 2 won't have a direct relationship to the geopoint layer, but to Table 1? This is an issue later as we want a globalid-parentglobalid relationship between the Table 2 and the Layer for other surveys and mapping. I could add a custom guid field to store the layer globalid in Table 2 so it ends up like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Layer (globalid)&lt;UL&gt;&lt;LI&gt;Table1 (globalid, parentglobalid)&lt;/LI&gt;&lt;LI&gt;Table2 (globalid, parentglobalid [&lt;EM&gt;Table1&lt;/EM&gt;], customguid [&lt;EM&gt;Layer&lt;/EM&gt;]&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is it possible to submit against both tables but maintain the global/parentglobalid between the layer and table 2?&lt;BR /&gt;If not, is it possible to create an additional relationship class between the Table2 customguid and Layer globalid? Any comments on the +/- of doing so?&lt;/P&gt;&lt;P&gt;Otherwise does anyone have any good insight, suggestions or resources on working with relationships/guids with multiple repeats and targeting existing services?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 07:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1384767#M54913</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-02-21T07:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to target multiple related tables of an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1385831#M54964</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412943"&gt;@ChristopherCounsell&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Geopoint&lt;UL&gt;&lt;LI&gt;Table 1 (repeat)&lt;/LI&gt;&lt;LI&gt;Table 2 (repeat)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There's no relationship between Table 1 and Table 2, to support a survey that points to Table 1 and includes Table 2 as a repeat the parent survey needs to be:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Geopoint&lt;UL&gt;&lt;LI&gt;Table 1 (repeat)&lt;UL&gt;&lt;LI&gt;Table 2 (nested repeat)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 01:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1385831#M54964</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2024-02-23T01:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to target multiple related tables of an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1385871#M54967</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;. I'd hoped for a world where I could keep the globalid/parentglobalid relationship consistent between the two tables and the geopoint layer.&lt;/P&gt;&lt;P&gt;I ended up manually creating the relationship between a custom guid field in table 2 and the point layer globalid field. Also had to recreate the other relationship classes as exporting from ArcGIS Online to Pro and republishing had a bug where the forward/backward labels were dropped so the relationship was called ''.&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I'm glad there's a functional relationship to use between the point layer and table 2, I'm also hoping there are no more issues after having taken the above workflow...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 05:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-target-multiple-related-tables/m-p/1385871#M54967</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-02-23T05:35:13Z</dc:date>
    </item>
  </channel>
</rss>

