<?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 Pulling data from layer and matching it with prepopulated question in survey 123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677069#M65140</link>
    <description>&lt;P&gt;Hi everyone. I am trying to build a Survey with pulling data from the layer which will be related to the prepopulated value in the previous question. I will describe what have I done so far:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Created arcade expression to intersect applications layer with school catchments layer, this contains codes and names of schools. When the polygon is clicked on the map arcade gives me Seed_Code for each school which intersect with it. I can have as many as 11 of them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Arcade send coma separated values to the survey 123 (Seed_Codes). I have tried pull names, but they are too long for parameter, so that didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. The Seed_Code question in survey 123 is populated with all of the seed_codes, then I use "selected-at(${catchments_field,0)" to separate each code. That works as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. This part doesn't work. I would like to pull school name from the Catchment layer and match it to the Code I already have in a Seed_Code question, but it doesn't populate it. I don't get an error, but the field is blank if I have Seed_Code question populated. (Survey is launched from the pop up window with arcade expression.)&amp;nbsp; If I run the survey as a free stand it does populate school name. not sure how. but the name is there. Seed_Code is blank as there is no parameter then coming from the arcade.&amp;nbsp; I think it's random. I use this in calculation:&amp;nbsp;pulldata("@layer","getValue","attributes.Name","&lt;A href="https://services2.arcgis.com/.....FeatureServer/1" target="_blank" rel="noopener"&gt;https://services2.arcgis.com/.....FeatureServer/1&lt;/A&gt;",${seed_code})&lt;/P&gt;&lt;P&gt;Any ideas what am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Maria&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2026 15:46:09 GMT</pubDate>
    <dc:creator>MariaSlowik</dc:creator>
    <dc:date>2026-01-09T15:46:09Z</dc:date>
    <item>
      <title>Pulling data from layer and matching it with prepopulated question in survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677069#M65140</link>
      <description>&lt;P&gt;Hi everyone. I am trying to build a Survey with pulling data from the layer which will be related to the prepopulated value in the previous question. I will describe what have I done so far:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Created arcade expression to intersect applications layer with school catchments layer, this contains codes and names of schools. When the polygon is clicked on the map arcade gives me Seed_Code for each school which intersect with it. I can have as many as 11 of them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Arcade send coma separated values to the survey 123 (Seed_Codes). I have tried pull names, but they are too long for parameter, so that didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. The Seed_Code question in survey 123 is populated with all of the seed_codes, then I use "selected-at(${catchments_field,0)" to separate each code. That works as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. This part doesn't work. I would like to pull school name from the Catchment layer and match it to the Code I already have in a Seed_Code question, but it doesn't populate it. I don't get an error, but the field is blank if I have Seed_Code question populated. (Survey is launched from the pop up window with arcade expression.)&amp;nbsp; If I run the survey as a free stand it does populate school name. not sure how. but the name is there. Seed_Code is blank as there is no parameter then coming from the arcade.&amp;nbsp; I think it's random. I use this in calculation:&amp;nbsp;pulldata("@layer","getValue","attributes.Name","&lt;A href="https://services2.arcgis.com/.....FeatureServer/1" target="_blank" rel="noopener"&gt;https://services2.arcgis.com/.....FeatureServer/1&lt;/A&gt;",${seed_code})&lt;/P&gt;&lt;P&gt;Any ideas what am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Maria&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 15:46:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677069#M65140</guid>
      <dc:creator>MariaSlowik</dc:creator>
      <dc:date>2026-01-09T15:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling data from layer and matching it with prepopulated question in survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677074#M65143</link>
      <description>&lt;P&gt;If I am reading correctly you need a where clause, not just referencing the seed code. Something like:&lt;/P&gt;&lt;P&gt;helper field:&lt;/P&gt;&lt;P&gt;name:&amp;nbsp; whcl&amp;nbsp; &amp;nbsp; &amp;nbsp;calc:&amp;nbsp; concat("seed_code=", ${seed_code})&amp;nbsp; &amp;nbsp;(may need quotes around seed_code if it is a text field)&lt;/P&gt;&lt;P&gt;then do your pulldata:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pulldata("@layer","getValue","attributes.Name","&lt;/SPAN&gt;&lt;A href="https://services2.arcgis.com/.....FeatureServer/1" target="_blank" rel="noopener nofollow noreferrer"&gt;https://services2.arcgis.com/.....FeatureServer/1&lt;/A&gt;&lt;SPAN&gt;",${whcl)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 15:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677074#M65143</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-01-09T15:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling data from layer and matching it with prepopulated question in survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677079#M65144</link>
      <description>&lt;P&gt;This. pulldata(@layer) is the best way to do this.&lt;/P&gt;&lt;P&gt;Here is the blog post:&amp;nbsp;&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;Survey123 Tricks of the Trade: pulldata("@layer")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Depending on the use-case, you can also go with a CSV and pulldata from that rather than a separate layer. Better for offline use.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 16:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677079#M65144</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2026-01-09T16:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling data from layer and matching it with prepopulated question in survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677080#M65145</link>
      <description>&lt;P&gt;Thank you. It worked!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 16:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677080#M65145</guid>
      <dc:creator>MariaSlowik</dc:creator>
      <dc:date>2026-01-09T16:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling data from layer and matching it with prepopulated question in survey 123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677081#M65146</link>
      <description>&lt;P&gt;Thank you. I have tried csv but we need this to be up up to date. The solution from&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/763693" target="_self"&gt;&lt;SPAN class=""&gt;Neal_t_k&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;worked perfectly! and it was so easy!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 16:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-data-from-layer-and-matching-it-with/m-p/1677081#M65146</guid>
      <dc:creator>MariaSlowik</dc:creator>
      <dc:date>2026-01-09T16:19:09Z</dc:date>
    </item>
  </channel>
</rss>

