<?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: Adding point feature and related table info and key field for relationship in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066082#M35126</link>
    <description>&lt;P&gt;Have you tried adding the "related id" as a GUID field? Relating parent globalid → child guid is usually the best way to do it. In fact, according to the&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/survey123withexistingfeatureservices.htm" target="_self"&gt; S123 docs&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="ph"&gt;Survey123&lt;/SPAN&gt; only supports one-to-many GUID relationships when working with existing feature layers and related tables.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We have a few surveys for doing just this sort of thing, and it works well when the relationship is established that way, both for adding new and editing existing records.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 16:48:35 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2021-06-08T16:48:35Z</dc:date>
    <item>
      <title>Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066079#M35124</link>
      <description>&lt;P&gt;Two-part question:&lt;/P&gt;&lt;P&gt;Is it possible to create a survey that adds a point feature AND a related table record upon submission?&lt;/P&gt;&lt;P&gt;If so, what's the best way to set up the relationship between the feature and table?&amp;nbsp; I created a "point_feature_id" text field and a "related_table_record_id" text field that the relationship is built from.&amp;nbsp; In Survey123, I used a calculation of "uuid()" (which creates a unique id similar to: 910fe065-5c1d-4a92-be33-27f1d6e9abc2) to populate the point_feature_id field; I then used a calculation to make the related table record's ID field populate with the point_feature_id field.&amp;nbsp; Only issue I'm running into is that Survey123 evidently doesn't allow relationships to be built from text fields.&amp;nbsp; Is there another way to build the relationship?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 16:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066079#M35124</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2021-06-08T16:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066082#M35126</link>
      <description>&lt;P&gt;Have you tried adding the "related id" as a GUID field? Relating parent globalid → child guid is usually the best way to do it. In fact, according to the&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/survey123withexistingfeatureservices.htm" target="_self"&gt; S123 docs&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="ph"&gt;Survey123&lt;/SPAN&gt; only supports one-to-many GUID relationships when working with existing feature layers and related tables.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We have a few surveys for doing just this sort of thing, and it works well when the relationship is established that way, both for adding new and editing existing records.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 16:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066082#M35126</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-08T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066111#M35128</link>
      <description>&lt;P&gt;That did it.&amp;nbsp; I wasn't sure if GUID fields were editable in Survey123.&lt;/P&gt;&lt;P&gt;Another issue I'm running into is being able to re-open the survey to modify related table records after submitted, specifically date/time fields.&amp;nbsp; I have a "name", "time in" and "time out" field.&amp;nbsp; After I submit the form, then come back to try to edit the "time out" field, it is not editable.&amp;nbsp; The "name" text field is though, so I'm confused.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 17:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066111#M35128</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2021-06-08T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066115#M35129</link>
      <description>&lt;P&gt;That sounds like it could be in the layer's settings, perhaps? In recent updates, they enabled field-level editing settings.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 17:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066115#M35129</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-08T17:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066116#M35130</link>
      <description>&lt;P&gt;This is being done in an enterprise portal, v10.8.&amp;nbsp; I'm not aware of any field-level editing settings.&amp;nbsp; Even if I try to add an additional related table record, the date fields are grey'ed out and are un-editable.&lt;/P&gt;&lt;P&gt;Also (and I think this is simply a limitation of Survey123), I have 2 image fields set to an appearance of signature that that are used to capture a signature when the form is first submitted, then when it's reopened and edited, a signature to indicate the work is complete.&amp;nbsp; After submitting, I'm unable to add a second signature.&amp;nbsp; Any workaround for this?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 17:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066116#M35130</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2021-06-08T17:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066118#M35131</link>
      <description>&lt;P&gt;Figured out the editing of related table data after submitting form.&amp;nbsp; Added "allowUpdates=true" to the bind::esri:paramaters column for each of the repeats.&lt;/P&gt;&lt;P&gt;Still don't have a solution to add a second signature after the form has been submitted.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 18:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066118#M35131</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2021-06-08T18:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding point feature and related table info and key field for relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066119#M35132</link>
      <description>&lt;P&gt;Ah, yes. It's a 10.9 setting.&lt;/P&gt;&lt;P&gt;You might try having two surveys, one for adds, one for updates, if there are certain fields or questions that would not be filled in on the initial add.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 18:10:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-point-feature-and-related-table-info-and/m-p/1066119#M35132</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-08T18:10:12Z</dc:date>
    </item>
  </channel>
</rss>

