<?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 Survey123 xlsform pulldata(@layer not working in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1399881#M55691</link>
    <description>&lt;P&gt;I am trying to get this work after trying to work with json. Where based on a geopoint question it returns a value.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;pulldata("@layer", "getValueAt", "attributes.Label", "&lt;A href="https://agency_name.maps.arcgis.com/home/item.html?id=5fa01c8e666740968c727b8a81f78ef7&amp;amp;view=service" target="_blank"&gt;https://agency_name.maps.arcgis.com/home/item.html?id=5fa01c8e666740968c727b8a81f78ef7&amp;amp;view=service&lt;/A&gt;", ${Segment_ID_Point})&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveBrewer_0-1711149405738.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98850i892E0404553BDC3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveBrewer_0-1711149405738.png" alt="SteveBrewer_0-1711149405738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this is similar too what Ismael posted here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveBrewer_1-1711149747682.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98851i9B696A3D32B0ED57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveBrewer_1-1711149747682.png" alt="SteveBrewer_1-1711149747682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 23:22:35 GMT</pubDate>
    <dc:creator>SteveBrewer</dc:creator>
    <dc:date>2024-03-22T23:22:35Z</dc:date>
    <item>
      <title>Survey123 xlsform pulldata(@layer not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1399881#M55691</link>
      <description>&lt;P&gt;I am trying to get this work after trying to work with json. Where based on a geopoint question it returns a value.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;pulldata("@layer", "getValueAt", "attributes.Label", "&lt;A href="https://agency_name.maps.arcgis.com/home/item.html?id=5fa01c8e666740968c727b8a81f78ef7&amp;amp;view=service" target="_blank"&gt;https://agency_name.maps.arcgis.com/home/item.html?id=5fa01c8e666740968c727b8a81f78ef7&amp;amp;view=service&lt;/A&gt;", ${Segment_ID_Point})&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveBrewer_0-1711149405738.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98850i892E0404553BDC3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveBrewer_0-1711149405738.png" alt="SteveBrewer_0-1711149405738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this is similar too what Ismael posted here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveBrewer_1-1711149747682.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98851i9B696A3D32B0ED57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveBrewer_1-1711149747682.png" alt="SteveBrewer_1-1711149747682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 23:22:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1399881#M55691</guid>
      <dc:creator>SteveBrewer</dc:creator>
      <dc:date>2024-03-22T23:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 xlsform pulldata(@layer not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1400208#M55703</link>
      <description>&lt;P&gt;Hi Steve, my guess would be that&lt;/P&gt;&lt;P&gt;- first : you have in fact to use the REST URL of your layer (don't forget the '/0' at the end), like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris_976_0-1711339724046.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98945iB43227FF792EEB9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris_976_0-1711339724046.png" alt="Chris_976_0-1711339724046.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- second, you have to add a buffer instruction at the end of your URL if you want to capture the label near the point position your users will enter. ("?distance=XXX&amp;amp;units=YOURUNITS"&lt;/P&gt;&lt;P&gt;The help topic might be of help :&amp;nbsp;&lt;A href="https://doc.arcgis.com/fr/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985CAFB740EE8AEF99EFD6E238E3" target="_blank"&gt;Formules—ArcGIS Survey123 | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 04:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1400208#M55703</guid>
      <dc:creator>Chris_976</dc:creator>
      <dc:date>2024-03-25T04:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 xlsform pulldata(@layer not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1400982#M55767</link>
      <description>&lt;P&gt;Thank you Chris we still had some issues with this and after talking with support we decided to go with a geoshape question and ran into this issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;TypeError: Cannot read property 'toString' of undefined in expression: pulldata("@layer", "getValueAt", "attributes.Label", "&lt;A href="https://services2.arcgis.com/Uq9r85Potqm3MfRV/arcgis/rest/services/SCAT_Segments_Polygon/FeatureServer/0" target="_blank"&gt;https://services2.arcgis.com/Uq9r85Potqm3MfRV/arcgis/rest/services/SCAT_Segments_Polygon/FeatureServer/0&lt;/A&gt;", /Scat_Application_v3_0&lt;/P&gt;&lt;P&gt;if you have any advice that would be great thank you for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:14:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1400982#M55767</guid>
      <dc:creator>SteveBrewer</dc:creator>
      <dc:date>2024-03-26T16:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 xlsform pulldata(@layer not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1407036#M56070</link>
      <description>&lt;P&gt;Hello Steve, sorry for the delay. I hope you solved this problem since.&lt;/P&gt;&lt;P&gt;It looks like there is a problem in one argument of your formula. If you don't already solved the problem, I suggest you post more informations, perhaps a sample of your .xlsform. It seems that the line you copied is not whole.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 08:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1407036#M56070</guid>
      <dc:creator>Chris_976</dc:creator>
      <dc:date>2024-04-08T08:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 xlsform pulldata(@layer not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1618836#M62787</link>
      <description>&lt;P&gt;Sorry for the reply a year later Steve...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a similar project that required this pulldata function and found that wrapping a string() function around it solved the problem.&lt;/P&gt;&lt;P&gt;Previous statement:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pulldata("@layer", "getValueAt", "attributes.X", ${arcgis_rest_url}, ${location})&lt;/P&gt;&lt;P&gt;Solved:&lt;/P&gt;&lt;P&gt;string(pulldata("@layer", "getValueAt", "attributes.X", ${arcgis_rest_url}, ${location}))&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 13:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-xlsform-pulldata-layer-not-working/m-p/1618836#M62787</guid>
      <dc:creator>EmilianoGarcia</dc:creator>
      <dc:date>2025-05-28T13:29:22Z</dc:date>
    </item>
  </channel>
</rss>

