<?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 Survey 123 Dynamic Repeat Solution in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700287#M57</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am creating a project to collect attribute field metadata on about 150 feature classes and tables. I have decided to leverage Survey123 (Connect) so that my subject experts can just fill out a survey for each feature class, then I can review and update the metadata on my end.&amp;nbsp; The survey design so far is rather simple and I have shortened my choices list to just (5) feature classes for now.&lt;/P&gt;&lt;P&gt;The solution that I would greatly appreciate some help with is creating a dynamic repeat based on the number of attribute fields in each feature class.&amp;nbsp; Essentially, I have two select_one questions to choose the 'theme' and 'feature class' (theme_list' and 'fcs' in choices list)... what I'd like to see is once the user picks a feature class, the repeat should pull the number of attribute fields ('fields' in the survey choice list) and that's the number of repeats the user is required to fill out.&lt;/P&gt;&lt;P&gt;I have seen some solutions on this subject where folks have had success leveraging a 'fieldcount' integer field to pull the repeat from, which I have tried to no avail...I have left the 'fieldcount' column in the choices list in case there is a helpful friend out there who better understands this solution and wouldn't mind lending some assistance.&lt;/P&gt;&lt;P&gt;Thanks for reading, I appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2020 17:58:21 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-09-04T17:58:21Z</dc:date>
    <item>
      <title>Survey 123 Dynamic Repeat Solution</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700287#M57</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am creating a project to collect attribute field metadata on about 150 feature classes and tables. I have decided to leverage Survey123 (Connect) so that my subject experts can just fill out a survey for each feature class, then I can review and update the metadata on my end.&amp;nbsp; The survey design so far is rather simple and I have shortened my choices list to just (5) feature classes for now.&lt;/P&gt;&lt;P&gt;The solution that I would greatly appreciate some help with is creating a dynamic repeat based on the number of attribute fields in each feature class.&amp;nbsp; Essentially, I have two select_one questions to choose the 'theme' and 'feature class' (theme_list' and 'fcs' in choices list)... what I'd like to see is once the user picks a feature class, the repeat should pull the number of attribute fields ('fields' in the survey choice list) and that's the number of repeats the user is required to fill out.&lt;/P&gt;&lt;P&gt;I have seen some solutions on this subject where folks have had success leveraging a 'fieldcount' integer field to pull the repeat from, which I have tried to no avail...I have left the 'fieldcount' column in the choices list in case there is a helpful friend out there who better understands this solution and wouldn't mind lending some assistance.&lt;/P&gt;&lt;P&gt;Thanks for reading, I appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2020 17:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700287#M57</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-04T17:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Survey 123 Dynamic Repeat Solution</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700288#M58</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/386778"&gt;Zachary Hunt&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option would be to leverage the &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data"&gt;pulldata() function&lt;/A&gt;. The function utilizes a csv file stored in the media folder that contains a lookup and return column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a zipfile containing the sample you had passed along which utilizes the pulldata() function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short I just&amp;nbsp;created a csv file that has two columns a ret (return) and look (look-up). Ret contains the number of fields in the feature class (to be used in the repeat count). look contains the feature class names from the choices sheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax I used in the repeat_count was&amp;nbsp;int(pulldata('fields','ret','look',${feat})) where 'fields' is the name of the csv file, ret and look as discussed above, and ${feat} is the feature class question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to keep in mind is we are planning on supporting&amp;nbsp;&lt;A href="https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;arttypeid={5a8e51ed-4a87-43fe-a67d-2b7829af130f}&amp;amp;artid={189A49C1-49DB-48BD-9B6C-3BCCAA1684F6}"&gt;select_one and select_multiple from file&lt;/A&gt;&amp;nbsp;with the 3.11 release. At the moment cascading selects is not working, but could be one thing to keep an eye out on. The reason this could be helpful is depending on how often your feature classes are updating you can offload all the information in your choices sheet to CSV file(s) use the&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2017/12/08/an-alternative-way-to-update-the-media-folder-of-a-survey123-form-item"&gt;update media folder script&lt;/A&gt;&amp;nbsp;to automate the process of updating the content in the CSV file(s) via the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2020 23:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700288#M58</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2020-09-10T23:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Survey 123 Dynamic Repeat Solution</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700289#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/386778"&gt;Zachary Hunt&lt;/A&gt;‌ sorry to be of no help, but would you mind sharing your finished product with us here in the forums? I would love to use this template for my own organisation metadata review!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2020 23:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700289#M59</guid>
      <dc:creator>BenVan_Kesteren</dc:creator>
      <dc:date>2020-09-10T23:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Survey 123 Dynamic Repeat Solution</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700290#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zach,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The power of Zach squared prevails once again! Thank you very much for the assistance, looks like this is exactly the solution I was looking for.&amp;nbsp; I'll look forward to the 3.11 release, thanks for the heads up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated,&lt;/P&gt;&lt;P&gt;Zac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2020 17:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-dynamic-repeat-solution/m-p/700290#M60</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-09-11T17:29:22Z</dc:date>
    </item>
  </channel>
</rss>

