<?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: Survey123 pull data function returns only one intersecting polygon instead of all intersecting polygons in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-pull-data-function-returns-only-one/m-p/1712531#M66537</link>
    <description>&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION2_9A111BC3FC6A42D9B2559997F6E6B826:~:text=The%20pulldata(%22%40layer%22)%20function%20returns%20the%20first%20record%20in%20the%20query%20response.%20Design%20and%20test%20your%20query%20to%20ensure%20you%20get%20the%20desired%20results.%20You%20can%20refine%20your%20query%20using%20a%20WHERE%20clause%20and%20the%20additional%20request%20parameters%20described%20below." target="_self"&gt;Pulldata Limitation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pulldata(@layer) only gets the first response from results.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION2_9A111BC3FC6A42D9B2559997F6E6B826:~:text=region%20of%20Canada.-,Request%20parameters,-You%20can%20refine" target="_self"&gt;Pulldata Request Parameters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would see if I could get what you're looking for by setting up a repeat.&amp;nbsp; Use the outStatistics to get a count of the number of results and use that in the repeat count column to dynamically set the number of repeats to create. Then I would try using the resultOffset parameter and try passing the repeat position number to it using position(..).&amp;nbsp; Depending on where the count starts, some functions start at 0 others at 1, you may need to do something like position(..)-1 for your result offset value.&amp;nbsp; If it works, you will get a repeat record containing the value of one of the polygons that intersect.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I'd try, but I haven't ever tried it, so there's no guarantees and you may run into a dependency cycle error, but it would be worth a shot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2026 14:55:41 GMT</pubDate>
    <dc:creator>TylerGraham2</dc:creator>
    <dc:date>2026-07-06T14:55:41Z</dc:date>
    <item>
      <title>Survey123 pull data function returns only one intersecting polygon instead of all intersecting polygons</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-pull-data-function-returns-only-one/m-p/1711939#M66523</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with ArcGIS Survey123 and have encountered an issue with the pull data function when using a geopoint to query a polygon feature layer.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;My survey contains a geopoint question that is used to identify intersecting polygon features from a single polygon layer. In many cases, the selected location falls within multiple overlapping polygon features. My goal is to populate a multitext field with the values of all of the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;intersecting polygons.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;However, the pull data function only returns the value from a single intersecting feature,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;even when multiple polygon features intersect the selected location.&lt;BR /&gt;&lt;BR /&gt;Is there a solution or workaround for this?&lt;BR /&gt;&lt;BR /&gt;Thanks for the assistance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 13:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-pull-data-function-returns-only-one/m-p/1711939#M66523</guid>
      <dc:creator>ONeilkaBacchus</dc:creator>
      <dc:date>2026-07-02T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 pull data function returns only one intersecting polygon instead of all intersecting polygons</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-pull-data-function-returns-only-one/m-p/1712531#M66537</link>
      <description>&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION2_9A111BC3FC6A42D9B2559997F6E6B826:~:text=The%20pulldata(%22%40layer%22)%20function%20returns%20the%20first%20record%20in%20the%20query%20response.%20Design%20and%20test%20your%20query%20to%20ensure%20you%20get%20the%20desired%20results.%20You%20can%20refine%20your%20query%20using%20a%20WHERE%20clause%20and%20the%20additional%20request%20parameters%20described%20below." target="_self"&gt;Pulldata Limitation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pulldata(@layer) only gets the first response from results.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION2_9A111BC3FC6A42D9B2559997F6E6B826:~:text=region%20of%20Canada.-,Request%20parameters,-You%20can%20refine" target="_self"&gt;Pulldata Request Parameters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would see if I could get what you're looking for by setting up a repeat.&amp;nbsp; Use the outStatistics to get a count of the number of results and use that in the repeat count column to dynamically set the number of repeats to create. Then I would try using the resultOffset parameter and try passing the repeat position number to it using position(..).&amp;nbsp; Depending on where the count starts, some functions start at 0 others at 1, you may need to do something like position(..)-1 for your result offset value.&amp;nbsp; If it works, you will get a repeat record containing the value of one of the polygons that intersect.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I'd try, but I haven't ever tried it, so there's no guarantees and you may run into a dependency cycle error, but it would be worth a shot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 14:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-pull-data-function-returns-only-one/m-p/1712531#M66537</guid>
      <dc:creator>TylerGraham2</dc:creator>
      <dc:date>2026-07-06T14:55:41Z</dc:date>
    </item>
  </channel>
</rss>

