<?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: executeForIds not honoring returnGeometry = false in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271437#M6345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I confirmed this to be a bug with 2.&amp;nbsp; Looks like they fixed it at 2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;J,&lt;BR /&gt;&lt;BR /&gt;Something to try: in the map document the map service is based upon turn off the Shape field for the point layer you are querying.&amp;nbsp; This usually prevents geometry from returning in cases when I want it to.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;-Dan&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Sep 2010 18:07:28 GMT</pubDate>
    <dc:creator>JasonHarris2</dc:creator>
    <dc:date>2010-09-30T18:07:28Z</dc:date>
    <item>
      <title>executeForIds not honoring returnGeometry = false</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271435#M6343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Buddhatown&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on a proof on concept app where I need to return a very large number of points.&amp;nbsp; Possibly 500,000+ points.&amp;nbsp; I dont need to actually display them (the selected points), just capture some attributes of the points.&amp;nbsp; So, it would seem that using a querytask and executeForIds would be my best bet.&amp;nbsp; I does in fact work OK if I send a plain REST request against the layer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I use Flex, it doesnt seem to honor returnGeometry = false.&amp;nbsp; If I look at the request that it sends to AGS, returngeometry is omitted completely, and the query fails (on a very very big selection).&amp;nbsp; If I add in returngeometry=false, that query will work and return the expected array of ID's. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This a bug or am I missing something?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var query:Query = new Query();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.spatialRelationship = spatialRel.selectedItem.data;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.geometry = geom;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query.returnGeometry = false;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;queryTask.executeForIds(query, new AsyncResponder(onResult, onFault));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 14:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271435#M6343</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-09-09T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: executeForIds not honoring returnGeometry = false</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271436#M6344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: danj&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something to try: in the map document the map service is based upon turn off the Shape field for the point layer you are querying.&amp;nbsp; This usually prevents geometry from returning in cases when I want it to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 18:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271436#M6344</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-09-09T18:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: executeForIds not honoring returnGeometry = false</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271437#M6345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I confirmed this to be a bug with 2.&amp;nbsp; Looks like they fixed it at 2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;J,&lt;BR /&gt;&lt;BR /&gt;Something to try: in the map document the map service is based upon turn off the Shape field for the point layer you are querying.&amp;nbsp; This usually prevents geometry from returning in cases when I want it to.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;-Dan&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 18:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executeforids-not-honoring-returngeometry-false/m-p/271437#M6345</guid>
      <dc:creator>JasonHarris2</dc:creator>
      <dc:date>2010-09-30T18:07:28Z</dc:date>
    </item>
  </channel>
</rss>

