<?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 upload shapefile sample and query or select features in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upload-shapefile-sample-and-query-or-select/m-p/727609#M67533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am replicating the upload shapefile sample in my application. Everything is showing up correctly on the map. Problem is that I am not able to query or select features from the uploaded layer, any query is giving an error as "query contains one or more unsupported parameters". My query is defined as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var query = new esri.tasks.Query();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.where = "1 = 1";&amp;nbsp;&amp;nbsp; // or&amp;nbsp;&amp;nbsp; "FID = 1" or any other where clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.outFields = ["*"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;uploadLayer.queryFeatures(query, function (featureSet) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(featureSet);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2013 19:25:00 GMT</pubDate>
    <dc:creator>VIKRANTKRISHNA</dc:creator>
    <dc:date>2013-02-19T19:25:00Z</dc:date>
    <item>
      <title>upload shapefile sample and query or select features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upload-shapefile-sample-and-query-or-select/m-p/727609#M67533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am replicating the upload shapefile sample in my application. Everything is showing up correctly on the map. Problem is that I am not able to query or select features from the uploaded layer, any query is giving an error as "query contains one or more unsupported parameters". My query is defined as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var query = new esri.tasks.Query();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.where = "1 = 1";&amp;nbsp;&amp;nbsp; // or&amp;nbsp;&amp;nbsp; "FID = 1" or any other where clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.outFields = ["*"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;uploadLayer.queryFeatures(query, function (featureSet) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(featureSet);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upload-shapefile-sample-and-query-or-select/m-p/727609#M67533</guid>
      <dc:creator>VIKRANTKRISHNA</dc:creator>
      <dc:date>2013-02-19T19:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: upload shapefile sample and query or select features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upload-shapefile-sample-and-query-or-select/m-p/727610#M67534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'Add Shapefile' sample adds the shapefile to the map as a feature collection based feature layer. These layers do not support queries that need to be performed on the server - this includes queries with a where clause or non-extent based spatial queries. See the API Reference for more details: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#FeatureLayer/FeatureLayerConst2" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#FeatureLayer/FeatureLayerConst2&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upload-shapefile-sample-and-query-or-select/m-p/727610#M67534</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-02-19T19:34:53Z</dc:date>
    </item>
  </channel>
</rss>

