<?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 Returns more rows than ObjectIds in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querytask-returns-more-rows-than-objectids/m-p/320044#M7625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to run the QueryTask with a subset of the object IDs returned from the executeForIds result featureset. But the QueryTask result count is always more than the number of Object IDs passed if "where" clause is not used or the same as the executeForIds when "where" clause is used. In either case it isn't returning the requested data rows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server is 10 SP3 and Flex Viewer is 2.4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The relevant piece of code is copied below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; query.where = "&amp;lt;where clause&amp;gt;";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; query.outFields = ["*"]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.objectIds = objectIdsArray.slice(startIndexObjectIDArrayInPage, endIndexObjectIDArrayInPage);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;queryTask.execute(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated. Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Varma.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 05:45:40 GMT</pubDate>
    <dc:creator>DKVarma</dc:creator>
    <dc:date>2011-11-28T05:45:40Z</dc:date>
    <item>
      <title>QueryTask Returns more rows than ObjectIds</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querytask-returns-more-rows-than-objectids/m-p/320044#M7625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to run the QueryTask with a subset of the object IDs returned from the executeForIds result featureset. But the QueryTask result count is always more than the number of Object IDs passed if "where" clause is not used or the same as the executeForIds when "where" clause is used. In either case it isn't returning the requested data rows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server is 10 SP3 and Flex Viewer is 2.4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The relevant piece of code is copied below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; query.where = "&amp;lt;where clause&amp;gt;";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; query.outFields = ["*"]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.objectIds = objectIdsArray.slice(startIndexObjectIDArrayInPage, endIndexObjectIDArrayInPage);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;queryTask.execute(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated. Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Varma.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 05:45:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/querytask-returns-more-rows-than-objectids/m-p/320044#M7625</guid>
      <dc:creator>DKVarma</dc:creator>
      <dc:date>2011-11-28T05:45:40Z</dc:date>
    </item>
  </channel>
</rss>

