<?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: Prepopulating Survey123 Repeat Group with Household Members from CSV Based on HouseholdID in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576980#M60880</link>
    <description>&lt;P&gt;I think maybe with repeat count it will load X number at once.&amp;nbsp; Then as they scroll through them the pulldata should fire as they go.&amp;nbsp; That may be enough for you?&amp;nbsp; It will just not load them until they scroll to them.&amp;nbsp; &amp;nbsp;Not sure how you would control which one loads in each repeat though.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2025 22:48:40 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2025-01-17T22:48:40Z</dc:date>
    <item>
      <title>Prepopulating Survey123 Repeat Group with Household Members from CSV Based on HouseholdID</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576958#M60875</link>
      <description>&lt;P&gt;Hi GeoNet Community!&lt;/P&gt;&lt;P&gt;I am working with Survey123 and XLSForm, and I want to dynamically prepopulate a repeat group with household members from a CSV file. Each household member should have their own repeat record, populated with data from the CSV, based on their HouseholdID.&lt;/P&gt;&lt;P&gt;Here's the scenario:&lt;BR /&gt;I have a CSV (vPersonTable123.csv) that contains household information with columns for HouseholdID, person_name, and Notes. I want to create a repeat group where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each household member has their own record in the repeat.&lt;/LI&gt;&lt;LI&gt;The PersonName and Notes are prepopulated for each member based on their HouseholdID.&lt;P&gt;I want to avoid using a select_one_from_file field, as I need the repeat to dynamically load all members based on the HouseholdID.&lt;/P&gt;&lt;P&gt;Here's what I’ve tried so far:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;TABLE width="524px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="162.344px"&gt;type&lt;/TD&gt;&lt;TD width="214.915px"&gt;naem&lt;/TD&gt;&lt;TD width="107.33px"&gt;label&lt;/TD&gt;&lt;TD width="40px"&gt;calculation&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="162.344px"&gt;integer&lt;/TD&gt;&lt;TD width="214.915px"&gt;HouseholdID&lt;/TD&gt;&lt;TD width="107.33px"&gt;HouseholdID&lt;/TD&gt;&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="162.344px"&gt;begin repeat&lt;/TD&gt;&lt;TD width="214.915px"&gt;household_members&lt;/TD&gt;&lt;TD width="107.33px"&gt;Household members&lt;/TD&gt;&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="162.344px"&gt;select_one_from_file vPersonTable123.csv&lt;/TD&gt;&lt;TD width="214.915px"&gt;person_name&lt;/TD&gt;&lt;TD width="107.33px"&gt;PersonName&lt;/TD&gt;&lt;TD width="40px"&gt;pulldata("vPersonTable123.csv", "HouseholdID", "name", ${HouseholdID})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="162.344px"&gt;text&lt;/TD&gt;&lt;TD width="214.915px"&gt;person_note&lt;/TD&gt;&lt;TD width="107.33px"&gt;Notes:&lt;/TD&gt;&lt;TD width="40px"&gt;pulldata("vPersonTable123.csv", "person_note", "name", ${person_name})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="377.259px"&gt;end repeat&lt;/TD&gt;&lt;TD width="107.33px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this isn't returning the expected result. Instead of allowing for multiple prepopulated records based on the CSV file, it seems to only pull one result.&lt;/P&gt;&lt;P&gt;How can I correctly populate the repeat group with each household member’s data, without needing a select_one_from_file dropdown? Any guidance or examples would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 17 Jan 2025 21:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576958#M60875</guid>
      <dc:creator>AndrewPadilla</dc:creator>
      <dc:date>2025-01-17T21:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Prepopulating Survey123 Repeat Group with Household Members from CSV Based on HouseholdID</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576972#M60877</link>
      <description>&lt;P&gt;No you cannot prepopulate more than 1 repeat at a time.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 22:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576972#M60877</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-01-17T22:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prepopulating Survey123 Repeat Group with Household Members from CSV Based on HouseholdID</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576974#M60878</link>
      <description>&lt;P&gt;Bummer, I was so hopeful. Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;. I'll head back to the drawing board!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 22:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576974#M60878</guid>
      <dc:creator>AndrewPadilla</dc:creator>
      <dc:date>2025-01-17T22:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Prepopulating Survey123 Repeat Group with Household Members from CSV Based on HouseholdID</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576980#M60880</link>
      <description>&lt;P&gt;I think maybe with repeat count it will load X number at once.&amp;nbsp; Then as they scroll through them the pulldata should fire as they go.&amp;nbsp; That may be enough for you?&amp;nbsp; It will just not load them until they scroll to them.&amp;nbsp; &amp;nbsp;Not sure how you would control which one loads in each repeat though.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 22:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prepopulating-survey123-repeat-group-with/m-p/1576980#M60880</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-01-17T22:48:40Z</dc:date>
    </item>
  </channel>
</rss>

