<?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: Possible to modified Maximum Number of Records returned by Server Behavior in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545087#M50764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a slightly related front, I'd like the ability to break out of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;executeForCount&lt;/SPAN&gt;&lt;SPAN&gt; once a specified number has been reached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know if there are &lt;/SPAN&gt;&lt;STRONG&gt;more than X features&lt;/STRONG&gt;&lt;SPAN&gt;, rather than the &lt;/SPAN&gt;&lt;STRONG&gt;total number of features&lt;/STRONG&gt;&lt;SPAN&gt;, in the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, once I know that there are more than 500 features, don't keep counting all 10,000,000 features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment the only way to test this is to count all features, which can take a long time with complex layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2011 02:43:56 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2011-10-10T02:43:56Z</dc:date>
    <item>
      <title>Possible to modified Maximum Number of Records returned by Server Behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545085#M50762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At 10 you can set the Maximum Number of Records returned by Server by rest service, which is great.&amp;nbsp; However, if I do I query, i need to know that I got an incomplete result due to this setting.&amp;nbsp; Is there anyway that if the result exceeds this value to return &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"too many records" INSTEAD Of the partial result? Right now the only solution I can see is checking for an exact number of results by query, since each rest service can have a different setting.&amp;nbsp; Terribly inefficient.&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>Fri, 07 Oct 2011 15:34:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545085#M50762</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-07T15:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to modified Maximum Number of Records returned by Server Behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545086#M50763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It requires an extra query but you could use the query task's executeForCount method to return a count of the features that match the query. Comparing this to the results returned from execute would let you know if partial results were returned. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are working with feature layers you could use the queryCount method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 21:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545086#M50763</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-10-07T21:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to modified Maximum Number of Records returned by Server Behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545087#M50764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a slightly related front, I'd like the ability to break out of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;executeForCount&lt;/SPAN&gt;&lt;SPAN&gt; once a specified number has been reached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know if there are &lt;/SPAN&gt;&lt;STRONG&gt;more than X features&lt;/STRONG&gt;&lt;SPAN&gt;, rather than the &lt;/SPAN&gt;&lt;STRONG&gt;total number of features&lt;/STRONG&gt;&lt;SPAN&gt;, in the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, once I know that there are more than 500 features, don't keep counting all 10,000,000 features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment the only way to test this is to count all features, which can take a long time with complex layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 02:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545087#M50764</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-10-10T02:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to modified Maximum Number of Records returned by Server Behavior</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545088#M50765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes We will have to figure something out as well.&amp;nbsp; I want this to be faster, not slower by adding an extra query. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For us by the time it gets to 500 records IE has already thrown the "script has stopped responding error".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 13:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possible-to-modified-maximum-number-of-records/m-p/545088#M50765</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-10T13:00:11Z</dc:date>
    </item>
  </channel>
</rss>

