<?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 Web Form URL parameters pulling from child table instead of parent GlobalID. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/web-form-url-parameters-pulling-from-child-table/m-p/1546815#M59547</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made a dashboard and a survey123 form, and I would like to select an item in a list (parent), and then be able to add a child record via a Survey123 form embedded in the dashboard.&lt;/P&gt;&lt;P&gt;I found this thread which seemed to explain exactly what I was after and resolved a different problem&amp;nbsp;i was experiencing whereby i didnt want users to view or edit existing related records (&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/pass-attribute-field-as-url-parameter/td-p/1144143" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-questions/pass-attribute-field-as-url-parameter/td-p/1144143&lt;/A&gt;), however the URL I have for my form seems to retrieve the GlobalID from the first child record rather than the GlobalID from the parent to create the relationship. Everything else is working properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the parameters I am using for the URL:&lt;/P&gt;&lt;P&gt;l&amp;amp;field:SiteID={GlobalID}&amp;amp;field:SiteName={SiteName}&amp;amp;autoRefresh=true&amp;amp;hide=navbar,header&lt;/P&gt;&lt;P&gt;Site = Parent, ManagementUpdate = Child&lt;/P&gt;&lt;P&gt;I would like to pass the GlobalID (and SiteName) of the parent to the child, which contains the GUID field 'SiteID'. this is the field that creates the relationship. The form appears to be receiving the ID and submitting fine, its just the wrong GlobalID!&lt;/P&gt;&lt;P&gt;Here the data in my child table during testing, you can see it keeps using the first GlobalID for that site for all the subsequent sites.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bio_InfoAdmin_0-1728442125597.png" style="width: 438px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116790i2CF99DD3661D2840/image-dimensions/438x150?v=v2" width="438" height="150" role="button" title="Bio_InfoAdmin_0-1728442125597.png" alt="Bio_InfoAdmin_0-1728442125597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the filter I'm using on my dashboard list:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bio_InfoAdmin_1-1728442388814.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116791iF9D23AE9E6A975A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bio_InfoAdmin_1-1728442388814.png" alt="Bio_InfoAdmin_1-1728442388814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It will not let me create a child record if the parent doesnt already have a child record against it (I assume because it needs that first GlobalID *face palm*), so the form just says 'No Data' and doesnt present the form for the user.&lt;/P&gt;&lt;P&gt;Am I doing something wrong here with my configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;are you able to help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 03:02:27 GMT</pubDate>
    <dc:creator>Bio_InfoAdmin</dc:creator>
    <dc:date>2024-10-09T03:02:27Z</dc:date>
    <item>
      <title>Web Form URL parameters pulling from child table instead of parent GlobalID.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/web-form-url-parameters-pulling-from-child-table/m-p/1546815#M59547</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made a dashboard and a survey123 form, and I would like to select an item in a list (parent), and then be able to add a child record via a Survey123 form embedded in the dashboard.&lt;/P&gt;&lt;P&gt;I found this thread which seemed to explain exactly what I was after and resolved a different problem&amp;nbsp;i was experiencing whereby i didnt want users to view or edit existing related records (&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/pass-attribute-field-as-url-parameter/td-p/1144143" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-questions/pass-attribute-field-as-url-parameter/td-p/1144143&lt;/A&gt;), however the URL I have for my form seems to retrieve the GlobalID from the first child record rather than the GlobalID from the parent to create the relationship. Everything else is working properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the parameters I am using for the URL:&lt;/P&gt;&lt;P&gt;l&amp;amp;field:SiteID={GlobalID}&amp;amp;field:SiteName={SiteName}&amp;amp;autoRefresh=true&amp;amp;hide=navbar,header&lt;/P&gt;&lt;P&gt;Site = Parent, ManagementUpdate = Child&lt;/P&gt;&lt;P&gt;I would like to pass the GlobalID (and SiteName) of the parent to the child, which contains the GUID field 'SiteID'. this is the field that creates the relationship. The form appears to be receiving the ID and submitting fine, its just the wrong GlobalID!&lt;/P&gt;&lt;P&gt;Here the data in my child table during testing, you can see it keeps using the first GlobalID for that site for all the subsequent sites.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bio_InfoAdmin_0-1728442125597.png" style="width: 438px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116790i2CF99DD3661D2840/image-dimensions/438x150?v=v2" width="438" height="150" role="button" title="Bio_InfoAdmin_0-1728442125597.png" alt="Bio_InfoAdmin_0-1728442125597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the filter I'm using on my dashboard list:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bio_InfoAdmin_1-1728442388814.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116791iF9D23AE9E6A975A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bio_InfoAdmin_1-1728442388814.png" alt="Bio_InfoAdmin_1-1728442388814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It will not let me create a child record if the parent doesnt already have a child record against it (I assume because it needs that first GlobalID *face palm*), so the form just says 'No Data' and doesnt present the form for the user.&lt;/P&gt;&lt;P&gt;Am I doing something wrong here with my configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;are you able to help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 03:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/web-form-url-parameters-pulling-from-child-table/m-p/1546815#M59547</guid>
      <dc:creator>Bio_InfoAdmin</dc:creator>
      <dc:date>2024-10-09T03:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Web Form URL parameters pulling from child table instead of parent GlobalID.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/web-form-url-parameters-pulling-from-child-table/m-p/1548025#M59617</link>
      <description>&lt;P&gt;It sounds to me like you are using your child table as the data source for your embedded form.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;List Widget Data Source: &lt;FONT color="#FF6600"&gt;Parent Table&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Embed Widget Data Source: &lt;FONT color="#FF6600"&gt;Parent Table&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Survey URL: Survey pointed to &lt;FONT color="#008080"&gt;Child Table&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The URL parameter of the survey is where you actually move the Global ID into the Site ID.&lt;/P&gt;
&lt;P&gt;&amp;amp;field:&lt;SPAN&gt;SiteID&lt;/SPAN&gt;={field/globalid}&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 14:09:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/web-form-url-parameters-pulling-from-child-table/m-p/1548025#M59617</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2024-10-11T14:09:24Z</dc:date>
    </item>
  </channel>
</rss>

