<?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 QueryTask for Feature Service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551817#M51467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering if there's a queryTask for an entire Feature Service (not just layers within a Feature Service)? I am trying to duplicate the functionality located at this site:&amp;nbsp; &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Feature_Service/02r3000000w5000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Feature_Service/02r3000000w5000000/"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&amp;nbsp; The main component is that I need to setup the layerDefs parameters.&amp;nbsp;&amp;nbsp; I cannot see anything located in the ArcGIS JavaScript API for this, with the exception of executing an esriRequest.&amp;nbsp; Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 22:13:54 GMT</pubDate>
    <dc:creator>KarenRobine</dc:creator>
    <dc:date>2016-03-29T22:13:54Z</dc:date>
    <item>
      <title>QueryTask for Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551817#M51467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering if there's a queryTask for an entire Feature Service (not just layers within a Feature Service)? I am trying to duplicate the functionality located at this site:&amp;nbsp; &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Feature_Service/02r3000000w5000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Feature_Service/02r3000000w5000000/"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&amp;nbsp; The main component is that I need to setup the layerDefs parameters.&amp;nbsp;&amp;nbsp; I cannot see anything located in the ArcGIS JavaScript API for this, with the exception of executing an esriRequest.&amp;nbsp; Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 22:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551817#M51467</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2016-03-29T22:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask for Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551818#M51468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; No you are seeing the same as me there is nothing to indicate the JS API supports querying the whole Feature Service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551818#M51468</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-30T12:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask for Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551819#M51469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the feature service has an accompanying map service, you could run an identify task on the map service and get results back for every layer.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 15:27:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551819#M51469</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-03-30T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask for Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551820#M51470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, but you must list lout all layerIds in &lt;A href="https://developers.arcgis.com/javascript/jsapi/identifyparameters-amd.html#layerids" title="https://developers.arcgis.com/javascript/jsapi/identifyparameters-amd.html#layerids"&gt;IdentifyParameters | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Here is a sample that shows how identify tasks run a maplayer with multiple layerIds &lt;A href="https://developers.arcgis.com/javascript/jssamples/find_popup.html" title="https://developers.arcgis.com/javascript/jssamples/find_popup.html"&gt;Display identify results in popup | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this can help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 16:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551820#M51470</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2016-03-30T16:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask for Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551821#M51471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bill and Yue:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am not using the Feature Service for the purpose of performing an Identify. I am wishing to send a query directly to the Feature Service and have it query several of the layers within the Feature Service (each with unique where clauses), and provide back some results. The beauty of this method is that all of the work is done on the server-side, and does not require multiple "deferred" QueryTask requests to the server to capture the data I require. I realize that I could send these asynchronous requests to each layer individually to obtain my results, but this method is much slower then the intended request.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would think something like this would be quite helpful in the API, no?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 17:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-for-feature-service/m-p/551821#M51471</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2016-03-30T17:36:12Z</dc:date>
    </item>
  </channel>
</rss>

