<?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: How to view and edit data in the attachment tables in ArcGIS Pro in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282857#M48888</link>
    <description>&lt;P&gt;I have completed several steps, including downloading a File Geodatabase to back up my surveys and attachments. Next, I added a repeat to my existing survey, which resulted in the loss of all my data. I then appended the layers, but since the pre-existing related tables were using the Global ID to relate to other tables, I had to reconfigure the parents' global ID to match the newly generated Global IDs.&lt;/P&gt;&lt;P&gt;However, even though I had set the environment to Maintain Attachments in ArcGIS Pro, I noticed that none of my attachments were present once the tables were related.&lt;/P&gt;&lt;P&gt;I am not sure if I am missing something to successfully add a repeat to an existing survey without loosing the data and attachments.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 15:26:34 GMT</pubDate>
    <dc:creator>ChristopherVan_de_Wyngard</dc:creator>
    <dc:date>2023-04-26T15:26:34Z</dc:date>
    <item>
      <title>How to view and edit data in the attachment tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282839#M48886</link>
      <description>&lt;P&gt;How can I edit the attachment tables of my Survey123 survey in ArcGIS Pro. Can anyone provide a step-by-step guide on how to do this? Specifically, I want to know how to view and then edit data in the attachment tables and ensure that my changes are reflected in the related records in the main survey form.&lt;/P&gt;&lt;P&gt;Any tips or best practices for editing attachment tables in ArcGIS Pro would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282839#M48886</guid>
      <dc:creator>ChristopherVan_de_Wyngard</dc:creator>
      <dc:date>2023-04-26T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to view and edit data in the attachment tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282843#M48887</link>
      <description>&lt;P&gt;Can you give a specific example of what you're trying to do?&lt;/P&gt;&lt;P&gt;If you've downloaded your data into a local GDB you have a bit more flexibility than you do when editing data via services, the REST API for attachments is more limited than what you can do with database table.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282843#M48887</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2023-04-26T15:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to view and edit data in the attachment tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282857#M48888</link>
      <description>&lt;P&gt;I have completed several steps, including downloading a File Geodatabase to back up my surveys and attachments. Next, I added a repeat to my existing survey, which resulted in the loss of all my data. I then appended the layers, but since the pre-existing related tables were using the Global ID to relate to other tables, I had to reconfigure the parents' global ID to match the newly generated Global IDs.&lt;/P&gt;&lt;P&gt;However, even though I had set the environment to Maintain Attachments in ArcGIS Pro, I noticed that none of my attachments were present once the tables were related.&lt;/P&gt;&lt;P&gt;I am not sure if I am missing something to successfully add a repeat to an existing survey without loosing the data and attachments.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282857#M48888</guid>
      <dc:creator>ChristopherVan_de_Wyngard</dc:creator>
      <dc:date>2023-04-26T15:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to view and edit data in the attachment tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282868#M48889</link>
      <description>&lt;P&gt;Adding a repeat to an existing survey is very tricky, I don't think S123 Connect can do it while maintaining your data (I could be wrong though).&amp;nbsp; It's been a while since I've done this, but I&amp;nbsp;&lt;EM&gt;think&lt;/EM&gt; you could do it&amp;nbsp;a few different ways:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 1&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Export and download your existing service's schema to a FGDB&lt;/LI&gt;&lt;LI&gt;Add a new table &amp;amp; relationship class for the repeat&lt;/LI&gt;&lt;LI&gt;Zip the FGDB and publish as a new service, modify the settings to match your old service (views, sharing, editing settings, etc.)&lt;/LI&gt;&lt;LI&gt;Republish the form to point to the new service&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This has some downsides, like if you have webmaps/apps that use your S123 service they'll have to be modified to point to the new service.&amp;nbsp; Additionally, FGDB exports tend to flake out if you have more than (approximately) 1.5GB worth of data - feature + attachments - in the export.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 2&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Open the administrative REST API of the service&lt;/LI&gt;&lt;LI&gt;Use the Add to Definition endpoint to add a new table&lt;/LI&gt;&lt;LI&gt;Use the same endpoint to define a relationship between the parent and the child&lt;/LI&gt;&lt;LI&gt;Modify the form to include the repeat and republish&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This is "cleaner" but it's&amp;nbsp;&lt;EM&gt;really&lt;/EM&gt; easy to completely screw up your service this way.&amp;nbsp; You really want to practice this on some garbage data before trying it against anything that matters.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 3&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Publish your form to a new service entirely, that includes the repeat&lt;/LI&gt;&lt;LI&gt;Use the Python API to script up an ETL process to drag your old records and attachments over to the new service&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The downside here is that it can be fair bit of work, especially if you're not handy with Python.&amp;nbsp; Also, repointing webmaps/apps and such.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-view-and-edit-data-in-the-attachment-tables/m-p/1282868#M48889</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2023-04-26T15:44:50Z</dc:date>
    </item>
  </channel>
</rss>

