<?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: Dynamic Populating Repeat Sections using Pulldata(@&amp;quot;layer&amp;quot;) from last reads in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1288379#M49203</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/524206"&gt;@AnaDeniston&lt;/a&gt;&amp;nbsp;Thanks for sharing your findings! Another approach to prepopulate records in a repeat is to use the &lt;EM&gt;query&lt;/EM&gt; parameter in the &lt;EM&gt;bind::esri:parameters&lt;/EM&gt; column of your XLSForm. For example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1683837777929.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70475iD59422D750098A42/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1683837777929.png" alt="IsmaelChivite_0-1683837777929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the above example, all Circuit Breakers for the Electric Panel will show in your repeat when you open the Electric Panel from the Survey123 Inbox.&amp;nbsp; This is because the circuits repeat is set with the query parameter in &lt;EM&gt;bind::esri:parameters&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Using the query parameter has its advantages: The XLSForm syntax is pretty simple. It works, even if you are offline and it is quite flexible:&lt;/P&gt;&lt;P&gt;If you do not want to load all Circuit Breakers into the repeat, you can also use a filter. For example, if you only want to populate repeat records where the status is needs repair:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_2-1683838191594.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70478iE4138EEE6FFD2400/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_2-1683838191594.png" alt="IsmaelChivite_2-1683838191594.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using additional parameters you can even control if records should be in read-only mode or not. For example, you may want to display previous inspections in read-only mode and allow updates to new inspections.&lt;/P&gt;&lt;P&gt;There is a bit more info about this here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-repeats/ba-p/898041" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-repeats/ba-p/898041&lt;/A&gt;&amp;nbsp; and also in this video recording from the Esri Developer Summit:&amp;nbsp;&lt;A href="https://mediaspace.esri.com/media/t/1_rge1ajj8" target="_blank" rel="noopener"&gt;https://mediaspace.esri.com/media/t/1_rge1ajj8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 20:56:07 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2023-05-11T20:56:07Z</dc:date>
    <item>
      <title>Dynamic Populating Repeat Sections using Pulldata(@"layer") from last reads</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1238033#M46354</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work with several Survey123 forms that need to visualize previous reads. One of my challenges was to read previous data submitted to the same survey in Repeatable questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to create a form that fills in the information in repeat and regular questions using pulldata(@"layer") - (Attached is the Xlxs form).&lt;/P&gt;&lt;P&gt;More info about this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-videos/survey123-tricks-of-the-trade-live-query-arcgis/m-p/1236652#M56" target="_self"&gt;-&amp;nbsp;Survey123 Tricks of the Trade (Live): Query ArcGIS layers with pulldata("@layer")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415" target="_self"&gt;-&amp;nbsp;Survey123 Tricks of the Trade: pulldata("@layer")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985CAFB740EE8AEF99EFD6E238E3" target="_self"&gt;- Query a feature layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Important: Lines 2/3 must be updated after publishing the form with the URL of the feature layer and the URL of the repeatable table.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnaDeniston_0-1670279462095.png" style="width: 835px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57686i80A91D07912B47F8/image-dimensions/835x242?v=v2" width="835" height="242" role="button" title="AnaDeniston_0-1670279462095.png" alt="AnaDeniston_0-1670279462095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, it was very important to have in the repeat section in bind::esri:parameters - calculationMode=always.&lt;/P&gt;&lt;P&gt;This allows the answers in the repeat to change according to the index.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnaDeniston_1-1670279705806.png" style="width: 606px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57688iFD9153CE5EFD6BFC/image-dimensions/606x205?v=v2" width="606" height="205" role="button" title="AnaDeniston_1-1670279705806.png" alt="AnaDeniston_1-1670279705806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am sure there are several improvements that can be implemented to this form. This was the solution that I came across and I am open to new suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all, I hope this is helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 22:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1238033#M46354</guid>
      <dc:creator>AnaDeniston</dc:creator>
      <dc:date>2022-12-05T22:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Populating Repeat Sections using Pulldata(@"layer") from last reads</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1288379#M49203</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/524206"&gt;@AnaDeniston&lt;/a&gt;&amp;nbsp;Thanks for sharing your findings! Another approach to prepopulate records in a repeat is to use the &lt;EM&gt;query&lt;/EM&gt; parameter in the &lt;EM&gt;bind::esri:parameters&lt;/EM&gt; column of your XLSForm. For example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1683837777929.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70475iD59422D750098A42/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1683837777929.png" alt="IsmaelChivite_0-1683837777929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the above example, all Circuit Breakers for the Electric Panel will show in your repeat when you open the Electric Panel from the Survey123 Inbox.&amp;nbsp; This is because the circuits repeat is set with the query parameter in &lt;EM&gt;bind::esri:parameters&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Using the query parameter has its advantages: The XLSForm syntax is pretty simple. It works, even if you are offline and it is quite flexible:&lt;/P&gt;&lt;P&gt;If you do not want to load all Circuit Breakers into the repeat, you can also use a filter. For example, if you only want to populate repeat records where the status is needs repair:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_2-1683838191594.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70478iE4138EEE6FFD2400/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_2-1683838191594.png" alt="IsmaelChivite_2-1683838191594.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using additional parameters you can even control if records should be in read-only mode or not. For example, you may want to display previous inspections in read-only mode and allow updates to new inspections.&lt;/P&gt;&lt;P&gt;There is a bit more info about this here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-repeats/ba-p/898041" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-repeats/ba-p/898041&lt;/A&gt;&amp;nbsp; and also in this video recording from the Esri Developer Summit:&amp;nbsp;&lt;A href="https://mediaspace.esri.com/media/t/1_rge1ajj8" target="_blank" rel="noopener"&gt;https://mediaspace.esri.com/media/t/1_rge1ajj8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 20:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1288379#M49203</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-05-11T20:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Populating Repeat Sections using Pulldata(@"layer") from last reads</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1291883#M49438</link>
      <description>&lt;P&gt;Thank&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;for taking the time to share your solution.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 23:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-populating-repeat-sections-using-pulldata/m-p/1291883#M49438</guid>
      <dc:creator>AnaDeniston</dc:creator>
      <dc:date>2023-05-22T23:06:11Z</dc:date>
    </item>
  </channel>
</rss>

