<?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 only send related data to an existing feature service? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1297955#M49860</link>
    <description>&lt;P&gt;Hi Jesse,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find a solution to this? I'm currently trying to do something very similar but my feature class fails when I try to publish as survey123 connect tells me that the begin repeat field does not exist as a field in the feature class&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2023 10:26:49 GMT</pubDate>
    <dc:creator>ALBJORGUI</dc:creator>
    <dc:date>2023-06-12T10:26:49Z</dc:date>
    <item>
      <title>How to only send related data to an existing feature service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1290834#M49367</link>
      <description>&lt;P&gt;I am attempting to send survey data to an existing feature service. The service is set up so that there is one feature layer called &lt;EM&gt;MonitoringSites&lt;/EM&gt; with four related tables. None of the related tables have or need geometries.&lt;/P&gt;&lt;P&gt;I only want to send data into the related tables with the survey, and I want them to be related to existing monitoring sites. Not only that, but in some of the related table repeats, I want to submit multiple records for existing monitoring sites during the same site visit. For example, in one visit, surveyors only need to fill one related entry for&amp;nbsp;&lt;EM&gt;SiteConditions&lt;/EM&gt;,&amp;nbsp; but they will need to take multiple &lt;EM&gt;MosquitoSamples&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a survey built from the attached spreadsheet in Connect, I can successfully add related records, but when I look at the results in our enterprise database, the data are related to a ghost&amp;nbsp;&lt;EM&gt;MonitoringSite&lt;/EM&gt;. I think the survey as it currently stands just creates a new null geometry with every submission and automatically relates the repeats to that ghost geometry.&lt;/P&gt;&lt;P&gt;Is there a way to prevent this from happening while still maintaining a single survey?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;EDIT#1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Here's the structure of my service/related tables, and my requirements for collection.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonitoringSites&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; |_ &lt;EM&gt;SiteConditions&lt;/EM&gt; (1:M, one per site visit)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; |&lt;EM&gt;_ MosquitoSamples&lt;/EM&gt; (1:M, ten per site visit)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; |_ &lt;EM&gt;DiversitySamples&lt;/EM&gt; (1:M, undetermined per site visit)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; |_ &lt;EM&gt;WaterQuality&amp;nbsp;&lt;/EM&gt;(1:M, one per site visit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;EDIT#2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;My original idea did not work, I don't think it's possible to only send related data. I ended up making the &lt;EM&gt;SiteConditions&lt;/EM&gt; table a feature class with all the other tables related to that one rather than the &lt;EM&gt;MonitoringSites&lt;/EM&gt;&lt;/FONT&gt;. It's a workaround that got me where I needed to be.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 16:51:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1290834#M49367</guid>
      <dc:creator>Jesse</dc:creator>
      <dc:date>2023-06-12T16:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to only send related data to an existing feature service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1290906#M49379</link>
      <description>&lt;P&gt;You have two options:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use the Survey123 Inbox to pull down your Monitoring sites, and then add related records.&lt;UL&gt;&lt;LI&gt;This is 'updating' the point layer but you are 'adding' related records..&lt;/LI&gt;&lt;LI&gt;You can set the repeat_count to 1 for site conditions. to limit one related record&lt;/LI&gt;&lt;LI&gt;Configure editing capabilities, questions and field editability on the parent table to not allow users to delete/overwrite monitoring site data at the parent geometry level&lt;/LI&gt;&lt;LI&gt;use bind parameters on the repeats to allowAdds=True&lt;/LI&gt;&lt;LI&gt;Allows for any number of single-level repeats to be completed, as you have currently designed it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Use a Survey123 custom URL to launch a survey from field maps and target one related table at a time&amp;nbsp;&lt;UL&gt;&lt;LI&gt;Create a new survey form from the existing service, delete all questions outside the target repeat and add a hidden parentglobalid question&lt;/LI&gt;&lt;LI&gt;Survey123 Monitoring site &amp;gt; Pop-up &amp;gt; custom url to launch survey form, pass monitoring site globalid into parentglobalid field.&lt;BR /&gt;You are now submitting a survey against the repeat directly. adding a new record into that table.&lt;/LI&gt;&lt;LI&gt;You can nest the tables (put the samples repeat within the site visit repeat). if you don't, you'll have to design a survey for each related table + launch a new survey form every single time. i.e. field maps popup &amp;gt; site condition survey. Popup url again for each sample survey&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Users will then fill out the target repeat directly and add records against it. If you have a nested repeat, users can fill out that repeat as part of the one submission.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 19 May 2023 00:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1290906#M49379</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-05-19T00:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to only send related data to an existing feature service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1291029#M49389</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;I already employ that second workflow, and I'm pretty sure the steps you laid out are exactly how I structured the survey, but that is what's leading to those ghost geos being created.&lt;/P&gt;&lt;P&gt;In my original survey design, I have repeats for all related tables, and I send the results to the&amp;nbsp;&lt;EM&gt;MonitoringSites&lt;/EM&gt; form_id in the settings tab. If I remove the repeat around&amp;nbsp;&lt;EM&gt;SiteConditions&lt;/EM&gt;, and change the form_id to that table, I get an error when attempting to publish saying that&amp;nbsp;&lt;STRONG&gt;Parent layer ID 1 not found for table WaterQuality&lt;/STRONG&gt;. I attached those changes to this post.&lt;/P&gt;&lt;P&gt;(See my post edit for the structure of the service/repeats)&lt;/P&gt;&lt;P&gt;Was that the change you were suggesting?&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 13:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1291029#M49389</guid>
      <dc:creator>Jesse</dc:creator>
      <dc:date>2023-05-19T13:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to only send related data to an existing feature service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1297955#M49860</link>
      <description>&lt;P&gt;Hi Jesse,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find a solution to this? I'm currently trying to do something very similar but my feature class fails when I try to publish as survey123 connect tells me that the begin repeat field does not exist as a field in the feature class&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 10:26:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1297955#M49860</guid>
      <dc:creator>ALBJORGUI</dc:creator>
      <dc:date>2023-06-12T10:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to only send related data to an existing feature service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1297957#M49861</link>
      <description>Begin repeat = not a field. It's the name of the related table.&lt;BR /&gt;&lt;BR /&gt;You are getting an error as the related table does not exist in your target&lt;BR /&gt;service.&lt;BR /&gt;&lt;BR /&gt;If it was republishing the original hosted feature service and survey that&lt;BR /&gt;created it, survey123 connect would prompt you to rewrite the feature&lt;BR /&gt;service as part of the update.&lt;BR /&gt;&lt;BR /&gt;Targeting an existing service, you need to ensure the XLSForm matches the&lt;BR /&gt;target service. So your feature service needs to contain the necessary&lt;BR /&gt;fields and related tables (repeats)&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2023 10:36:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1297957#M49861</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-06-12T10:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to only send related data to an existing feature service?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1300970#M50103</link>
      <description>&lt;P&gt;Hi Magisian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have on my zls all features and tables and the schema for the survey looks fine to me however I still get an error.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 08:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-only-send-related-data-to-an-existing/m-p/1300970#M50103</guid>
      <dc:creator>ALBJORGUI</dc:creator>
      <dc:date>2023-06-20T08:06:21Z</dc:date>
    </item>
  </channel>
</rss>

