<?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: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737977#M68328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Without being able to answer your question, I'd like to give 2 remarks:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note 1: You are comparing an ArcGIS Server 9.3.1 map service with an ArcGIS Server 10 map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note 2: Both operations are called "query", but just get another label on the HTML page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both can be queried on ID:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=OBJECTID+IN+(1,5)&amp;amp;returnGeometry=true&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=OBJECTID+IN+(1,5)&amp;amp;returnGeometry=true&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=1,5&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=1,5&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kristof Vydt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Esri Certified Desktop Associate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri BeLux&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 01:16:44 GMT</pubDate>
    <dc:creator>KristofVydt</dc:creator>
    <dc:date>2010-12-10T01:16:44Z</dc:date>
    <item>
      <title>Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryIds</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737976#M68327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i use two different MapServer layers to create an instance of esri.layers.FeatureLayer and execute the queryIds method I get different results. I assume the difference in results is the product of each layer's Supported Operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0" rel="nofollow" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;has a Supported Operation of "Query" whereas this other layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3" rel="nofollow" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;has a Supported Operations of type "Query_Layer".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The earthquake layer (the former example) will return only the objectIds as intended when you call the featurelayer.queryIds() method, but the demographic layer (the latter example) returns a JSON object of all attributes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is simple. Where is the documentation that explains the differences between how to interact with different Supported Operations of a Feature Layer? There is NO warning/mention in the JavaScript API Reference under FeatureLayer or under Query about this behavior with different Supported Operations. I spent 1.5 hours trying to figure out why I was getting different results from each layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would think that at least when I execute featurelayer.queryIds(query, callback) against a MapServer layer that only has a Supported Operations of "Query_Layer" I would get an error or something telling me this MapServer layer doesn't do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I'm missing something and&amp;nbsp; someone can point me to some documentation that I didn't see that explicitly explains this. Ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 22:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737976#M68327</guid>
      <dc:creator>GregCorradini</dc:creator>
      <dc:date>2010-12-09T22:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737977#M68328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Without being able to answer your question, I'd like to give 2 remarks:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note 1: You are comparing an ArcGIS Server 9.3.1 map service with an ArcGIS Server 10 map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note 2: Both operations are called "query", but just get another label on the HTML page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both can be queried on ID:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=OBJECTID+IN+(1,5)&amp;amp;returnGeometry=true&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=OBJECTID+IN+(1,5)&amp;amp;returnGeometry=true&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=1,5&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=1,5&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kristof Vydt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Esri Certified Desktop Associate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri BeLux&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 01:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737977#M68328</guid>
      <dc:creator>KristofVydt</dc:creator>
      <dc:date>2010-12-10T01:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737978#M68329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;At 10, support for query based on objectIds was added.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;At 10, query operation returns additional fields array (JSON and AMF only) that contains array of field information for returned values.&amp;nbsp; This array contains only fields specified in outFields parameter.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;(source: &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/query.html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/query.html&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kristof Vydt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Esri Certified Desktop Associate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri BeLux&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 01:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737978#M68329</guid>
      <dc:creator>KristofVydt</dc:creator>
      <dc:date>2010-12-10T01:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737979#M68330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Kristof Vydt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your comments. I was aware that the difference between the MapServer layers was based on the difference between ArcGIS Server 9.3.1 and ArcGIS Server 10. I was just interested to find the documentation on this difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You did answer my question as to &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/query.html"&gt;where&lt;/A&gt;&lt;SPAN&gt; it is documented. Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the lesson is this: I should be reading the &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/index.html"&gt;AGS REST API&lt;/A&gt;&lt;SPAN&gt; because it has more detail in some areas than the JavaScript API Reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though I would argue that some of that detail in the AGS REST API should be duplicated in the JavaScript API Reference because that's probably where most people building with this solution go first. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd also like to see a section in one of the APIs explicitly talking about what the difference between the Supported Operations means for different versions of the API and different types of operations. While AGS REST API does provide an overview of the ideas &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/res-ops.html"&gt;here&lt;/A&gt;&lt;SPAN&gt;, neither API reference talks about the specific examples that I can see yet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 14:55:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737979#M68330</guid>
      <dc:creator>GregCorradini</dc:creator>
      <dc:date>2010-12-10T14:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737980#M68331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One more thing Krystof,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fear that my first post wasn't clear enough about the problem. I'm not interested in querying on ID but getting a response of only IDs form the map service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The confusion happens between these different 10.0 (example 1) and 9.3.1 (example 2) map service calls. Notice how the returnsIdOnly parameter in the URL equals 'true' for the 9.3.1 map service request also. So i guess that extra information is ignored because it isn't supported. For some reason I thought this would throw some kind of error though. But I'm no JS Dev whiz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=true&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;featurelayer.queryIDs() for 10.0 map service&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;returnIdsOnly=true&amp;amp;&amp;amp;where=STATE_NAME+%3D+%27Washington%27&amp;amp;returnGeometry=true&amp;amp;outSR=&amp;amp;outFields=STATE_NAME%2CPOP2000&amp;amp;f=html"&gt;featurelayer.queryIDs() for 9.3.1 map service&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 15:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737980#M68331</guid>
      <dc:creator>GregCorradini</dc:creator>
      <dc:date>2010-12-10T15:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737981#M68332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;is this the same issue joanv was having &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/19032-in-querytask-returnIdsOnly-true-doesn-t-work"&gt;here&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i think they got an answer there towards the end....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 17:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737981#M68332</guid>
      <dc:creator>timgogl</dc:creator>
      <dc:date>2010-12-10T17:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737982#M68333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We should indeed not mix REST and JS API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The syntax featureLayer.queryIDs() is JS API (v2.1), but the link you added to it in your last post, is REST. Linking these doesn't make sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But up till now, I couldn't make it work with sampleserver1 (ArcGIS Server 9.3.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Querying FeatureLayer is new since v2.0 of the JS API (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/new_v20.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/new_v20.htm&lt;/A&gt;&lt;SPAN&gt;) and therefore linked to ArcGIS Server 10 (I suppose).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this assumption is correct, we still end up with the conclusion that there's no way to detect server side support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 23:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737982#M68333</guid>
      <dc:creator>KristofVydt</dc:creator>
      <dc:date>2010-12-10T23:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737983#M68334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Kristof,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the input. A few things. I'm not mixing the REST and JS API. Nor am I asking to have them mixed. These APIs have a relationship. In JS API v2.0 when you call .queryIds() method on a FeatureLayer it sends a restful URL to the server with a number of parameters. One of those is returnIdsOnly, which specifies that you only want IDs returned. This happens even if you are doing .queryIds() on a 9.3.1 map service. See the example code below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, queryIds is functionality that is supported at 10.0 MapServices and not 9.3.1 MapServices. However, that doesn't mean that people aren't using the JS 2.0 API to make calls to 9.3.1 map services. ESRI's samples for JS 2.0 API are full of examples like &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;. Sure, people SHOULD know that they won't be able to use the full functionality of the 2.0 API against old map services (as I did when I started this last week). But that doesn't mean they won't forget. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And they will try to make 2.0 method calls (like queryIds()) by mistake and there is NO mention of these problematic version conflicts in the JS 2.0 API. That's all I'm saying. Wouldn't it be nice if people using the new 2.0 FeatureLayer had a sentence at the beginning of this &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;doc&lt;/A&gt;&lt;SPAN&gt; saying a word or two reminding them that certain methods are going to get unexpected results when using 9.3.1 map services. Right now the ONLY mention of this potentiality is &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/new_v21.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;. I don't think that is a unreasonable request. Just trying to make the documentation better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do I think this is confusing for some people? Because when you're using the JS API v2.0 .queryIds() method&amp;nbsp; on a 9.3.1 MapService (see code example below) even if you shouldn't be it still works -- and you still get features back and it still executes your callback all is if the 9.3.1 map service supports that call in a weird way. No errors returned. Not too confusing once you figure it out. But it kept me going for an hour. See the actual requests generated from the script below at the very bottom of this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function initQueryIDCalls(){

 var mapService931URL = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3";
 var mapService10URL = "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0";
 
 featurelayer931 = new esri.layers.FeatureLayer(mapService931URL, {mode: esri.layers.FeatureLayer.MODE_SNAPSHOT});
 featurelayer10 = new esri.layers.FeatureLayer(mapService10URL, {mode: esri.layers.FeatureLayer.MODE_SNAPSHOT});
 
 var query = new esri.tasks.Query();
 query.where = "1=1";
 
 featurelayer931.queryIds(query);
 featurelayer10.queryIds(query);
&amp;nbsp; 
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3/query?f=json&amp;amp;returnIdsOnly=true&amp;amp;where=1%3D1&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript3._jsonpCallback" rel="nofollow noopener noreferrer" target="_blank"&gt;JS API 2.0 queryIds() request on 9.3.1 Map Service&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0/query?f=json&amp;amp;returnIdsOnly=true&amp;amp;where=1%3D1&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript4._jsonpCallback" rel="nofollow noopener noreferrer" target="_blank"&gt;JS API 2.0 queryIds() request on 10.0 Map Service&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737983#M68334</guid>
      <dc:creator>GregCorradini</dc:creator>
      <dc:date>2021-12-12T07:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Supported Operations on Layers -- attention to esri.layers.FeatureLayer().queryId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737984#M68335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You convinced me completely.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 16:02:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/supported-operations-on-layers-attention-to-esri/m-p/737984#M68335</guid>
      <dc:creator>KristofVydt</dc:creator>
      <dc:date>2010-12-13T16:02:05Z</dc:date>
    </item>
  </channel>
</rss>

