<?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: PullData not working in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1408807#M56156</link>
    <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557" target="_blank" rel="noopener"&gt;@ZacharySutherby&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354006"&gt;@Jim-Moore&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wondering if you have any advice on this for me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 22:07:33 GMT</pubDate>
    <dc:creator>ModernElectric</dc:creator>
    <dc:date>2024-04-15T22:07:33Z</dc:date>
    <item>
      <title>PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1407166#M56073</link>
      <description>&lt;P&gt;Working on revising an existing Survey123 form to uses Pulldata to auto-fill a field based on the user's selection on a previous field. However, on this modification, it is not working and not sure what I am not seeing.&lt;/P&gt;&lt;P&gt;The goal is for the user to start typing the Inventory Description and find what they are looking for, and once selected the Inventory Number and UOM is auto-filled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My previous survey, the user would select the Inventory Number and the Description and UOM would auto-fill from the Inventory Number. However, it has been requested to switch it around.&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 15:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1407166#M56073</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-04-08T15:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1408807#M56156</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557" target="_blank" rel="noopener"&gt;@ZacharySutherby&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354006"&gt;@Jim-Moore&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wondering if you have any advice on this for me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 22:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1408807#M56156</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-04-15T22:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1410072#M56194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10620"&gt;@ModernElectric&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing the quotes (") in the DESCRIPTION field values are causing an issue with the WHERE clause.&lt;/P&gt;&lt;P&gt;Try enclosing the value for the WHERE clause in single quotes, e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;concat("DESCRIPTION='", ${Description_1}, "'")&lt;/P&gt;&lt;P&gt;Hope this helps, Jim&lt;/P&gt;&lt;P&gt;cc:&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 05:40:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1410072#M56194</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2024-04-16T05:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1410242#M56203</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354006"&gt;@Jim-Moore&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response and the advice. However, that did not solve the the issue. I've attached updated screenshots and the excel file to see if you can help and determine what part of the coding is incorrect.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my previous survey I built, I was able to use the Autocomplete search for the Inventory Number and have the item description and UOM auto-populate. Have been trying to reverse that by the user doing the autocomplete search on the Inventory Description since we have 100s of inventory numbers and easier to find a match on the description compared to trying to remember a specific number.&lt;/P&gt;&lt;P&gt;Appreciate any additional help and guidance you can provide.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 14:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1410242#M56203</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-04-16T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1411383#M56292</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10620"&gt;@ModernElectric&lt;/a&gt;&amp;nbsp;the syntax in your XLSForm looks good to me. It's a bit tricky to diagnose without the feature layer, but everything seems to be set up correctly.&lt;/P&gt;&lt;P&gt;Is the autocomplete search() working for the inventory descriptions?&lt;/P&gt;&lt;P&gt;If you drop the WHERE clause from the pulldata("@layer") expressions, do you get a result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 04:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1411383#M56292</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2024-04-18T04:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1416786#M56559</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354006"&gt;@Jim-Moore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without the WHERE clause, the field doesn't know what to populate into the Inventory Number field based on the original search getting a match from the feature table. Long story short, nothing populates.&lt;/P&gt;&lt;P&gt;Now, I can do the Inventory Number (1025) and the Description will autopopulate based on a match from the feature table. The goal is to reverse that action and have the foreman start typing in the description, find the exact one they want, and the inventory description auto populates from there. Much each for the foreman to start typing in cedar pole to find what they want versus memorizing 1000s of inventory numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought just reversing the code in the spreadsheet would do the trick, but apparently not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 23:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1416786#M56559</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-04-29T23:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: PullData not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1416866#M56562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10620"&gt;@ModernElectric&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for any confusion. If there's no WHERE clause in the expression, the pulldata("@layer") query defaults to a WHERE of "1=1" (i.e. return all records without any filtering) and will return the first record from the query results (see the &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985CAFB740EE8AEF99EFD6E238E3" target="_self"&gt;Query a feature layer&lt;/A&gt; documentation). So removing the WHERE clause should at least confirm if Survey123 can successfully query the feature layer and get a result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps give that a try first and if you get no result, check: that the URL is correct; that the feature layer is shared appropriately; and (in the case of a &lt;EM&gt;getValue&lt;/EM&gt; request) that the attribute you're trying to retrieve matches the field name in the feature layer.&lt;/P&gt;&lt;P&gt;Once you confirm that the feature layer can be queried successfully, you can work out why there's no match happening with the WHERE clause.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 04:41:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working/m-p/1416866#M56562</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2024-04-30T04:41:42Z</dc:date>
    </item>
  </channel>
</rss>

