<?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 Arcade expression to automatically join records from child to parent tables in a web map in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242558#M46612</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey123 form that contains a repeat for survey data, within each repeat is a nested repeat that collects 2 sets of GPS x,y coordinates.&amp;nbsp; So this creates 3 separate items in Portal,&amp;nbsp; two layers and a stand alone table.&amp;nbsp; Is there a way to leverage arcade expressions in a web map to join (in my example below) the&amp;nbsp;&lt;/P&gt;&lt;P&gt;examcoord (parentrowid) the fieldcollect table (uniquerowid)?&amp;nbsp; I dont want to have to join them manually each time a survey is collected.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnMedema_0-1671489457513.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58930i79646C61CE6DF87F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnMedema_0-1671489457513.png" alt="JohnMedema_0-1671489457513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I intend on using a dashboard to provide an end-user product that will provide a map and details for each survey.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, the 1st point layer Dig_List_for_ECDA_TRIMP_Survey captures information for each survey but it is collected outside of all repeats.&amp;nbsp; Is there a way to join this table information to the other point feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 22:44:33 GMT</pubDate>
    <dc:creator>JohnMedema</dc:creator>
    <dc:date>2022-12-19T22:44:33Z</dc:date>
    <item>
      <title>Arcade expression to automatically join records from child to parent tables in a web map</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242558#M46612</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey123 form that contains a repeat for survey data, within each repeat is a nested repeat that collects 2 sets of GPS x,y coordinates.&amp;nbsp; So this creates 3 separate items in Portal,&amp;nbsp; two layers and a stand alone table.&amp;nbsp; Is there a way to leverage arcade expressions in a web map to join (in my example below) the&amp;nbsp;&lt;/P&gt;&lt;P&gt;examcoord (parentrowid) the fieldcollect table (uniquerowid)?&amp;nbsp; I dont want to have to join them manually each time a survey is collected.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnMedema_0-1671489457513.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58930i79646C61CE6DF87F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnMedema_0-1671489457513.png" alt="JohnMedema_0-1671489457513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I intend on using a dashboard to provide an end-user product that will provide a map and details for each survey.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, the 1st point layer Dig_List_for_ECDA_TRIMP_Survey captures information for each survey but it is collected outside of all repeats.&amp;nbsp; Is there a way to join this table information to the other point feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 22:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242558#M46612</guid>
      <dc:creator>JohnMedema</dc:creator>
      <dc:date>2022-12-19T22:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression to automatically join records from child to parent tables in a web map</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242654#M46616</link>
      <description>&lt;P&gt;Join is available in the Web Map Viewer Classic. If you check&amp;nbsp;Create results as hosted feature layer view a view layer will be created that updates the join automatically as data is added to the layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating results as a hosted feature layer view allows the data to stay up to date as the source data changes. Hosted feature layer views containing joins will be read-only.&lt;/P&gt;&lt;P class=""&gt;Hosted feature layer views containing joins do not consume credits for analysis and storage.&lt;/P&gt;&lt;P&gt;You can create a hosted feature layer view from the analysis results if all of the following conditions are met:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You are the owner of both layers.&lt;/LI&gt;&lt;LI&gt;Both layers are hosted feature layers.&lt;/LI&gt;&lt;LI&gt;You are performing an attribute join.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2022-12-20_6-27-42.jpg" style="width: 446px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58962i6DF2A95D989A5502/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-12-20_6-27-42.jpg" alt="2022-12-20_6-27-42.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/analyze/join-features.htm" target="_self"&gt;Join Features&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 13:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242654#M46616</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2022-12-20T13:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression to automatically join records from child to parent tables in a web map</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242689#M46620</link>
      <description>&lt;P&gt;Check out the FeatureSet functions.&amp;nbsp; You can call up any layer.&lt;/P&gt;&lt;P&gt;Can use by relationship name&amp;nbsp;&lt;/P&gt;&lt;P&gt;var tbl = FeatureSetByRelationshipName($feature, "Points", ['CollectPoolTailFines'], false);&lt;BR /&gt;return First(tbl).CollectPoolTailFines&lt;/P&gt;&lt;P&gt;Or your own query&lt;/P&gt;&lt;P&gt;var EvaluationID = Concatenate($feature.PointID, "_", text(ToLocal($feature.FieldEvalDate), "Y-MM-DD"))&lt;BR /&gt;var sql = "EvaluationID = '" + EvaluationID + "'";&lt;BR /&gt;var tbl = Filter(FeatureSetByName($map,"Water Quality and Macroinvertebrates", ['EvaluationID'], false), sql);&lt;/P&gt;&lt;P&gt;I use it a lot and it works great.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 14:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/arcade-expression-to-automatically-join-records/m-p/1242689#M46620</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-12-20T14:57:34Z</dc:date>
    </item>
  </channel>
</rss>

