<?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: Max Number of Records not being set on layers in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634321#M24336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I cannot reproduce this at 10.1 SP1, (you can check the Home site of your Rest endpoint, it'll probably say 10.1, 10.1 SP1 will say 10.11).&amp;nbsp; The Service Pack for ArcGIS Server 10.1 can be downloaded and installed from the &lt;/SPAN&gt;&lt;A href="https://customers.esri.com/"&gt;Customer Care Portal&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; The Service Pack is essentially the whole application, so it may take some time to download and install.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2012 18:26:13 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2012-12-12T18:26:13Z</dc:date>
    <item>
      <title>Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634315#M24330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a test map service with the default settings of returning 1000 records with Max Number of Records.&amp;nbsp; One of the layers has about 5000 features that I want to return for a query.&amp;nbsp; After changing the Max Number of Records to 10000 in the Server Manager for the service (and restarting the service), the layers still show the original 1000 and will not return more than 1000 records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to make sure my test javascript was working I created a new service with the value set to 10000 and it works properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some trick to getting the service parameter to be passed on to the layers within the service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634315#M24330</guid>
      <dc:creator>DavidAnderson</dc:creator>
      <dc:date>2012-12-11T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634316#M24331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version are you using?&amp;nbsp; It should work by just editing that value in Server Manager or ArcCatalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 23:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634316#M24331</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2012-12-11T23:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634317#M24332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using 10.1.&amp;nbsp; I thought it should work that way too but it is not.&amp;nbsp; I see MaxRecordCount of 10000 when I go to the REST service directory for the main service but when I look at the layer in question it shows 1000.&amp;nbsp; Running the query from the REST page only returns 1000 records as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 13:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634317#M24332</guid>
      <dc:creator>DavidAnderson</dc:creator>
      <dc:date>2012-12-12T13:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634318#M24333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After a little more digging, I found that other layers within the service where returning more than 1000 records.&amp;nbsp; The original query for the layer in question had a WHERE clause of "Shape_Area &amp;gt; 0" which should have returned all of the records but only returns 1000.&amp;nbsp; Changing the WHERE clause to "1 = 1" returns all of the records as expected.&amp;nbsp; I guess I have a way to get the query to work, now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 13:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634318#M24333</guid>
      <dc:creator>DavidAnderson</dc:creator>
      <dc:date>2012-12-12T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634319#M24334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So a query that querys for everything using a field, (rather than the 1=1 query), doesn't return more than 1000 values?&amp;nbsp; Are you on SP1 or Final?&amp;nbsp; I'll try this on my side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 14:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634319#M24334</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2012-12-12T14:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634320#M24335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After your reply, I did a little more testing.&amp;nbsp; Using a where clause on any other field on that layer works fine, e.g., "PIDN &amp;lt;&amp;gt; ''".&amp;nbsp; Also changing the where clause to "Shape_Area &amp;gt; 0" returns all 5137 records.&amp;nbsp; Using "Shape_Area&amp;gt;0" (no spaces) returns only 1000.&amp;nbsp; Does the server cache queries?&amp;nbsp; I ran the query with no spaces in the where clause before changing the MaxRecordCount to 10000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The server version is 10.1.0 (build 3035).&amp;nbsp; Not sure if that is SP1 or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 14:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634320#M24335</guid>
      <dc:creator>DavidAnderson</dc:creator>
      <dc:date>2012-12-12T14:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Max Number of Records not being set on layers</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634321#M24336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I cannot reproduce this at 10.1 SP1, (you can check the Home site of your Rest endpoint, it'll probably say 10.1, 10.1 SP1 will say 10.11).&amp;nbsp; The Service Pack for ArcGIS Server 10.1 can be downloaded and installed from the &lt;/SPAN&gt;&lt;A href="https://customers.esri.com/"&gt;Customer Care Portal&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; The Service Pack is essentially the whole application, so it may take some time to download and install.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 18:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-records-not-being-set-on-layers/m-p/634321#M24336</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2012-12-12T18:26:13Z</dc:date>
    </item>
  </channel>
</rss>

