<?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: Learning to use Pulldata and can't determine my coding error (likely something simple) in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662312#M64610</link>
    <description>&lt;P&gt;Your second one is working for me.&lt;/P&gt;&lt;P&gt;The first one there are couple things needing adjustment&lt;/P&gt;&lt;P&gt;Where2&amp;nbsp; calc:&amp;nbsp; concat("Station_Id=", ${Station_Id})&lt;/P&gt;&lt;P&gt;Station_Name calc:&amp;nbsp;pulldata("@layer","getValue","attributes.Station_Name","&lt;A href="https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/Alternate_Fuel/FeatureServer/0" target="_blank"&gt;https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/Alternate_Fuel/FeatureServer/0&lt;/A&gt;",${Where2})&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2025 18:18:15 GMT</pubDate>
    <dc:creator>Neal_t_k</dc:creator>
    <dc:date>2025-10-30T18:18:15Z</dc:date>
    <item>
      <title>Learning to use Pulldata and can't determine my coding error (likely something simple)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662298#M64609</link>
      <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I'm learning how to use Survey 123 via simple initial codes and have hit a roadblock with the pulldata function. I successfully got it to work with the ESRI county data example found under the S123 tutorials, but I can't replicate it with a new layer attempt. I used basically the same coding, but the second attempt with fuel station data refuses to work. If I remove the Where clause, I can get the default 1=1 result (first entry in layer), but the function doesn't work with or without the where clause. I've used ArcGIS Pro for many years, so I am fairly certain it is a blatantly obvious simple error as it usually is when I'm stumped for days. I would greatly appreciate it if someone could point out my error or at least throw some suggestions my way. Thank you in advance.&lt;/P&gt;&lt;TABLE width="699"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="173"&gt;integer&lt;/TD&gt;&lt;TD width="173"&gt;Station_Id&lt;/TD&gt;&lt;TD width="194"&gt;Station ID&lt;/TD&gt;&lt;TD width="159"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;note&lt;/TD&gt;&lt;TD&gt;Where2&lt;/TD&gt;&lt;TD&gt;Where clause 2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;text&lt;/TD&gt;&lt;TD&gt;Station_Name&lt;/TD&gt;&lt;TD&gt;Station name is&lt;/TD&gt;&lt;TD&gt;Alt Fuel stations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;text&lt;/TD&gt;&lt;TD&gt;NAME&lt;/TD&gt;&lt;TD&gt;Enter county name&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;note&lt;/TD&gt;&lt;TD&gt;Where1&lt;/TD&gt;&lt;TD&gt;Where clause&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;text&lt;/TD&gt;&lt;TD&gt;FIPS&lt;/TD&gt;&lt;TD&gt;The county's FIPS&lt;/TD&gt;&lt;TD&gt;US Counties&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE width="159"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="159"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;concat("Name&amp;nbsp; is=", ${Station_Id})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;pulldata("@layer","getValue","attributes.Station_Name","&lt;A href="https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/Alternate_Fuel/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/Alternate_Fuel/FeatureServer/0&lt;/A&gt;",${Station_Id})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;concat("NAME='", ${NAME}, "'")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;pulldata("@layer","getValue", "attributes.FIPS","&lt;A href="https://services5.arcgis.com/jMCHJcLe13FaKCFB/arcgis/rest/services/US_Counties/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services5.arcgis.com/jMCHJcLe13FaKCFB/arcgis/rest/services/US_Counties/FeatureServer/0&lt;/A&gt;", ${Where1})&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 17:36:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662298#M64609</guid>
      <dc:creator>DougMarshall2025</dc:creator>
      <dc:date>2025-10-30T17:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Learning to use Pulldata and can't determine my coding error (likely something simple)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662312#M64610</link>
      <description>&lt;P&gt;Your second one is working for me.&lt;/P&gt;&lt;P&gt;The first one there are couple things needing adjustment&lt;/P&gt;&lt;P&gt;Where2&amp;nbsp; calc:&amp;nbsp; concat("Station_Id=", ${Station_Id})&lt;/P&gt;&lt;P&gt;Station_Name calc:&amp;nbsp;pulldata("@layer","getValue","attributes.Station_Name","&lt;A href="https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/Alternate_Fuel/FeatureServer/0" target="_blank"&gt;https://services9.arcgis.com/RHVPKKiFTONKtxq3/arcgis/rest/services/Alternate_Fuel/FeatureServer/0&lt;/A&gt;",${Where2})&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 18:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662312#M64610</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-10-30T18:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Learning to use Pulldata and can't determine my coding error (likely something simple)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662320#M64612</link>
      <description>&lt;P&gt;Neal,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for the prompt reply and solution. The terms used in the Where clause was the key. I did not realize that the initial part in the statement (Station name is) was not just a text message for convenience. Believe it or not, the ESRI help pages were not particularly clear on this (LOL). I appreciate you helping me over the speedbump. Take care.&lt;/P&gt;&lt;P&gt;Doug Marshall&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 18:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662320#M64612</guid>
      <dc:creator>DougMarshall2025</dc:creator>
      <dc:date>2025-10-30T18:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Learning to use Pulldata and can't determine my coding error (likely something simple)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662323#M64613</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/948768"&gt;@DougMarshall2025&lt;/a&gt;&amp;nbsp;essentially you are using the Rest Api to make a query to the feature layer.&amp;nbsp; That part of the pulldata code is a where statement in sql.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 18:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/learning-to-use-pulldata-and-can-t-determine-my/m-p/1662323#M64613</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-10-30T18:51:16Z</dc:date>
    </item>
  </channel>
</rss>

