<?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: Multiple value search in findtask in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474079#M43949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You could use '&amp;amp;' or comma (,) or some special charater as delimiter and split the input string to array. Then loop through them and execute multiple findtasks. And then using promise/all combine all the results and use it to populate the grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 15:17:59 GMT</pubDate>
    <dc:creator>thejuskambi</dc:creator>
    <dc:date>2016-02-26T15:17:59Z</dc:date>
    <item>
      <title>Multiple value search in findtask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474076#M43946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt; I need to search some data and display it into the Grid. I am using this example as a reference &lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/find_map_datagrid.html" title="https://developers.arcgis.com/javascript/jssamples/find_map_datagrid.html"&gt;Show find task results in a DataGrid | ArcGIS API for JavaScript&lt;/A&gt; . But here I am not able to search only one value at a time as mentioned in the example the word to be "Katz". But in my case I want to search with "Katz" and "Allen".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 06:15:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474076#M43946</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2016-02-26T06:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value search in findtask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474077#M43947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The FindTask is not designed to search for multiple values in a find. You can add the contains parameter to the FindParameters and you will get results for Allen whether the field begins with or ends with Allen though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;findParams.contains = true;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 14:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474077#M43947</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-26T14:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value search in findtask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474078#M43948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the reply.In my case I will be passing the unique key in order do the search so may be the above case may not work. Can you suggest me something which may be helpful if I need to search for example I pass the query as search cities with different pin code and I give 3 different pin code for search&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474078#M43948</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2016-02-26T15:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value search in findtask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474079#M43949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You could use '&amp;amp;' or comma (,) or some special charater as delimiter and split the input string to array. Then loop through them and execute multiple findtasks. And then using promise/all combine all the results and use it to populate the grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474079#M43949</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-02-26T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value search in findtask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474080#M43950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You are only searching one layer then I would reccomend using a QueryTask instead of a FindTask. In the Queries where property you can use the IN operator to allow for the user to input a comma separated&amp;nbsp; string of multiple values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-value-search-in-findtask/m-p/474080#M43950</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-26T15:42:22Z</dc:date>
    </item>
  </channel>
</rss>

