<?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 One pulldata statement, with a where clause and multiple filters in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/one-pulldata-statement-with-a-where-clause-and/m-p/1344575#M52630</link>
    <description>&lt;P&gt;Hello!&amp;nbsp; I am trying to figure out how to write a pulldata function that has two feature filters, I assume placed in the WHERE clause.&amp;nbsp; I am building a refuse cart solution that tracks cart type (trash, recycle, yardwaste), cart size, cart serial number, etc. in Survey123 Connect (on Enterprise Portal 10.9.1).&amp;nbsp; The original feature class contains three records per property, one record for each cart type, from which I published a feature service to our federated Server.&amp;nbsp; I am using the pulldata&amp;nbsp;@layer workflow and would like to filter on cart_type first, based on the choice in a select_one question, then filter on the address field, thus retrieving that one unique record from the service table.&amp;nbsp; Is this possible to do in one pulldata statement?&amp;nbsp; Any help, example code, workflow, etc. would be appreciated.&amp;nbsp; Many thanks, Jay&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 18:20:10 GMT</pubDate>
    <dc:creator>JayHodny</dc:creator>
    <dc:date>2023-11-01T18:20:10Z</dc:date>
    <item>
      <title>One pulldata statement, with a where clause and multiple filters</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/one-pulldata-statement-with-a-where-clause-and/m-p/1344575#M52630</link>
      <description>&lt;P&gt;Hello!&amp;nbsp; I am trying to figure out how to write a pulldata function that has two feature filters, I assume placed in the WHERE clause.&amp;nbsp; I am building a refuse cart solution that tracks cart type (trash, recycle, yardwaste), cart size, cart serial number, etc. in Survey123 Connect (on Enterprise Portal 10.9.1).&amp;nbsp; The original feature class contains three records per property, one record for each cart type, from which I published a feature service to our federated Server.&amp;nbsp; I am using the pulldata&amp;nbsp;@layer workflow and would like to filter on cart_type first, based on the choice in a select_one question, then filter on the address field, thus retrieving that one unique record from the service table.&amp;nbsp; Is this possible to do in one pulldata statement?&amp;nbsp; Any help, example code, workflow, etc. would be appreciated.&amp;nbsp; Many thanks, Jay&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 18:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/one-pulldata-statement-with-a-where-clause-and/m-p/1344575#M52630</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2023-11-01T18:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: One pulldata statement, with a where clause and multiple filters</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/one-pulldata-statement-with-a-where-clause-and/m-p/1345565#M52670</link>
      <description>&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt; I can now choose cart type, enter an address, and have the record associated with the cart type and its location (geometry) retrieved. After tinkering with the Calculation, Choice_Filter, Relevant, etc. options in Connect, I ended up adding search parameters to my 'autocomplete search' function in the &lt;U&gt;Appearance&lt;/U&gt; option:&amp;nbsp;autocomplete search("address?url=&lt;A href="https://yourserviceurl/FeatureServer/0" target="_blank" rel="noopener"&gt;https://yourserviceurl/FeatureServer/0&lt;/A&gt;",'contains','cart_type',${cart_type}).&amp;nbsp; I also had to increase the "max record count returned by the Server" service to be able to access the 20,000+ records.&amp;nbsp; Data retrieval time remains fast.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/dynamic-choice-lists-using-search-appearance/ba-p/1060838" target="_self"&gt;For more information on Search Appearance....&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 15:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/one-pulldata-statement-with-a-where-clause-and/m-p/1345565#M52670</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2023-11-03T15:47:20Z</dc:date>
    </item>
  </channel>
</rss>

