<?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 adding a repeatable table to existing feature in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-repeatable-table-to-existing-feature/m-p/1291347#M49406</link>
    <description>&lt;P&gt;I have a scenario where I have an existing feature with basic data and polygons for 500+ sites.&lt;/P&gt;&lt;P&gt;I now need to carry out an audit on each of these sites so I would like to set up a repeatable field using survey123 connect.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;I am able to generate a survey in 123connect based on the existing feature service however I am not able to add a repeat field and then publish the survey.&lt;/P&gt;&lt;P&gt;Is there a way for me to do this?&lt;/P&gt;&lt;P&gt;Alternatively is there a way for me to create a completely new layer in survey 123 and then copy all of the features from the existing layer which I can then edit using the overview feature in Survey123?&lt;/P&gt;&lt;P&gt;Any assistance would be most appreciated thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 20 May 2023 11:05:31 GMT</pubDate>
    <dc:creator>tendtreesTC</dc:creator>
    <dc:date>2023-05-20T11:05:31Z</dc:date>
    <item>
      <title>adding a repeatable table to existing feature</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-repeatable-table-to-existing-feature/m-p/1291347#M49406</link>
      <description>&lt;P&gt;I have a scenario where I have an existing feature with basic data and polygons for 500+ sites.&lt;/P&gt;&lt;P&gt;I now need to carry out an audit on each of these sites so I would like to set up a repeatable field using survey123 connect.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;I am able to generate a survey in 123connect based on the existing feature service however I am not able to add a repeat field and then publish the survey.&lt;/P&gt;&lt;P&gt;Is there a way for me to do this?&lt;/P&gt;&lt;P&gt;Alternatively is there a way for me to create a completely new layer in survey 123 and then copy all of the features from the existing layer which I can then edit using the overview feature in Survey123?&lt;/P&gt;&lt;P&gt;Any assistance would be most appreciated thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 11:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-repeatable-table-to-existing-feature/m-p/1291347#M49406</guid>
      <dc:creator>tendtreesTC</dc:creator>
      <dc:date>2023-05-20T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: adding a repeatable table to existing feature</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-repeatable-table-to-existing-feature/m-p/1291358#M49407</link>
      <description>&lt;P&gt;While it's possible to add a new related table to a layer in an existing service, it's not easy, you need to use the REST API or the Python API, and it's not a simple call in either.&amp;nbsp; Additionally, if you make a mistake, it can be very difficult to fix it.&lt;/P&gt;&lt;P&gt;I would create a new service with the related table.&amp;nbsp; Note that this will require ArcGIS Pro and an Editor license:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From the item page of your existing service, export your data to a File GDB, then download and unzip the File GDB.&lt;/LI&gt;&lt;LI&gt;In ArcGIS Pro, open the File GDB and create a new table with the fields you'll need in Survey123.&amp;nbsp; Additionally, add a GUID field named "parent_id" or something like that.&lt;/LI&gt;&lt;LI&gt;Make sure your original layer has a Global ID field; if it doesn't, add one now.&lt;/LI&gt;&lt;LI&gt;Create a relationship class from your original layer to the new table, using the Global ID and GUID fields as keys.&amp;nbsp; You'll want it to have one-to-many cardinality, composite relationships, and forward messaging.&lt;/LI&gt;&lt;LI&gt;Close ArcGIS Pro, then navigate to the FGDB's folder in your file system and zip the FGDB up.&lt;/LI&gt;&lt;LI&gt;In ArcGIS Online, add the FGDB as a new item and publish to create a new hosted feature layer.&lt;/LI&gt;&lt;LI&gt;Create a new survey from this new layer.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;One caveat - if you rely on editor tracking, this could cause problems.&amp;nbsp; All of your old records that are migrated to the new service this way will have their creator and editor set to the user performing the service creation, and created-at/edited-at timestamps will be lost as well.&lt;/P&gt;&lt;P&gt;If you don't have Pro and an Editor license, publishing your form with the repeat as a new service then copying the records across is likely what you'll need to do.&amp;nbsp; There are several ways you could do this, I think the Python API would be the best, but this isn't trivial, particularly if you have attachments.&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 16:45:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-repeatable-table-to-existing-feature/m-p/1291358#M49407</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2023-05-20T16:45:35Z</dc:date>
    </item>
  </channel>
</rss>

