<?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 Can you have a repeat inside a repeat? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478000#M57078</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've run out of ideas and I'm hoping someone might help me understand if what I am trying to do is feasible.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; &amp;nbsp;I have authored and published an on-premise feature service with existing data and a relate table attached through a relationship class to the feature service.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; &amp;nbsp;I have taken the on-premise feature service and created a new URL in my agency's ArcGIS Online subscription and shared the new item with the appropriate ArcGIS Online group.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; &amp;nbsp;In Survey123 Connect, I created a form based solely on the attribute fields in the relate table. I wanted all the edits and its submission to go straight into the relate table and not the parent layer.&lt;/P&gt;&lt;P&gt;To create survey123 data in the relate table without creating a new record in the parent layer, I changed the form ID reference from the parent layer to the relate table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Casey_Ragain_0-1716494506065.png" style="width: 646px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105212i91D5ABC164932C67/image-dimensions/646x86?v=v2" width="646" height="86" role="button" title="Casey_Ragain_0-1716494506065.png" alt="Casey_Ragain_0-1716494506065.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Casey_Ragain_0-1716494506065.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and removed any reference to the relate table, at the beginning and end, in the survey123 XLS survey tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Casey_Ragain_1-1716494729837.png" style="width: 633px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105214iAF0C34A84372AC4B/image-dimensions/633x247?v=v2" width="633" height="247" role="button" title="Casey_Ragain_1-1716494729837.png" alt="Casey_Ragain_1-1716494729837.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Casey_Ragain_1-1716494729837.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This setup seems to work great for creating relate records to an existing record in the parent layer without creating a new record in the parent when submitting the form in survey123.&lt;/P&gt;&lt;P&gt;Here's my question...&lt;/P&gt;&lt;P&gt;&lt;U&gt;Can I add, or how do I add, a repeat to this survey123 form?&amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Since I created this form from an existing feature service and a relate table on my agency's GIS server and database infrastructure...do I have to create a new table and make another relationship class to the parent layer?&lt;/P&gt;&lt;P&gt;If so, how do I nest a relate table (a repeat) within a relate table (a repeat) in the survey123 xls and address the form settings form id? Can a form id reference two relate tables.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;-Casey&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 20:29:25 GMT</pubDate>
    <dc:creator>Casey_Ragain</dc:creator>
    <dc:date>2024-05-23T20:29:25Z</dc:date>
    <item>
      <title>Can you have a repeat inside a repeat?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478000#M57078</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've run out of ideas and I'm hoping someone might help me understand if what I am trying to do is feasible.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; &amp;nbsp;I have authored and published an on-premise feature service with existing data and a relate table attached through a relationship class to the feature service.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; &amp;nbsp;I have taken the on-premise feature service and created a new URL in my agency's ArcGIS Online subscription and shared the new item with the appropriate ArcGIS Online group.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; &amp;nbsp;In Survey123 Connect, I created a form based solely on the attribute fields in the relate table. I wanted all the edits and its submission to go straight into the relate table and not the parent layer.&lt;/P&gt;&lt;P&gt;To create survey123 data in the relate table without creating a new record in the parent layer, I changed the form ID reference from the parent layer to the relate table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Casey_Ragain_0-1716494506065.png" style="width: 646px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105212i91D5ABC164932C67/image-dimensions/646x86?v=v2" width="646" height="86" role="button" title="Casey_Ragain_0-1716494506065.png" alt="Casey_Ragain_0-1716494506065.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Casey_Ragain_0-1716494506065.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and removed any reference to the relate table, at the beginning and end, in the survey123 XLS survey tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Casey_Ragain_1-1716494729837.png" style="width: 633px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105214iAF0C34A84372AC4B/image-dimensions/633x247?v=v2" width="633" height="247" role="button" title="Casey_Ragain_1-1716494729837.png" alt="Casey_Ragain_1-1716494729837.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Casey_Ragain_1-1716494729837.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This setup seems to work great for creating relate records to an existing record in the parent layer without creating a new record in the parent when submitting the form in survey123.&lt;/P&gt;&lt;P&gt;Here's my question...&lt;/P&gt;&lt;P&gt;&lt;U&gt;Can I add, or how do I add, a repeat to this survey123 form?&amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Since I created this form from an existing feature service and a relate table on my agency's GIS server and database infrastructure...do I have to create a new table and make another relationship class to the parent layer?&lt;/P&gt;&lt;P&gt;If so, how do I nest a relate table (a repeat) within a relate table (a repeat) in the survey123 xls and address the form settings form id? Can a form id reference two relate tables.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;-Casey&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 20:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478000#M57078</guid>
      <dc:creator>Casey_Ragain</dc:creator>
      <dc:date>2024-05-23T20:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have a repeat inside a repeat?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478015#M57079</link>
      <description>&lt;P&gt;You guessed it:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;do I have to create a new table and make another relationship class to the parent layer?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So your layers would look like Parent → Related 1 → Related 2.&lt;/P&gt;&lt;P&gt;In the XLSX file, it's as simple as literally putting the one repeat inside the other.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;begin repeat&lt;/TD&gt;&lt;TD width="50%"&gt;Related 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;begin repeat&lt;/TD&gt;&lt;TD width="50%"&gt;Related 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;questions for nested repeat go here&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;end repeat&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;end repeat&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 23 May 2024 20:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478015#M57079</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-05-23T20:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have a repeat inside a repeat?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478099#M57080</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;Thank you! That makes sense.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What about the form ID name in the Settings tab when you have two relate tables in one form? Can you put down both table names?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Casey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 22:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478099#M57080</guid>
      <dc:creator>Casey_Ragain</dc:creator>
      <dc:date>2024-05-23T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have a repeat inside a repeat?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478147#M57081</link>
      <description>&lt;P&gt;I think it would just be the name of the parent table, you don't have to list the related tables.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 00:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/can-you-have-a-repeat-inside-a-repeat/m-p/1478147#M57081</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-05-24T00:56:50Z</dc:date>
    </item>
  </channel>
</rss>

