<?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 Understanding differing Max Record Counts in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83054#M3222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&amp;nbsp; I'm looking for some clarification on an ArcGIS Server situation I've come across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This &lt;A href="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/"&gt;Map Server&lt;/A&gt; has a Max Record Count of 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a &lt;A href="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0"&gt;Feature Layer endpoint&lt;/A&gt; in that service shows a Max Record Count of 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you query the Feature Layer endpoint, the max of 5 from the Map Server is used, essentially making the Max Count provided by the Feature Layer incorrect.&lt;/P&gt;&lt;P&gt;Embedded linking is failing, raw is truncating, so this is the query URL over two lines:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0/query" title="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0/query?"&gt;http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0/query?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;where=1%3D1&amp;amp;outFields=FID&amp;amp;returnGeometry=false&amp;amp;f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's unfortunate it appears I need to make a separate service call to determine the correct Max Record Count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am curious if this is the correct behavior for the Max Record Count property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, this is a 10.11 server, has this been changed or corrected in newer versions?&amp;nbsp; I'd like my code to work correctly for as many cases as possible.&amp;nbsp; I don't have a newer server at my disposal to check with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course, if anyone knows a better workaround then quering the Map Server root, please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 15:34:33 GMT</pubDate>
    <dc:creator>james-rae</dc:creator>
    <dc:date>2016-05-13T15:34:33Z</dc:date>
    <item>
      <title>Understanding differing Max Record Counts</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83054#M3222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&amp;nbsp; I'm looking for some clarification on an ArcGIS Server situation I've come across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This &lt;A href="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/"&gt;Map Server&lt;/A&gt; has a Max Record Count of 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a &lt;A href="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0"&gt;Feature Layer endpoint&lt;/A&gt; in that service shows a Max Record Count of 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you query the Feature Layer endpoint, the max of 5 from the Map Server is used, essentially making the Max Count provided by the Feature Layer incorrect.&lt;/P&gt;&lt;P&gt;Embedded linking is failing, raw is truncating, so this is the query URL over two lines:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0/query" title="http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0/query?"&gt;http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0/query?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;where=1%3D1&amp;amp;outFields=FID&amp;amp;returnGeometry=false&amp;amp;f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's unfortunate it appears I need to make a separate service call to determine the correct Max Record Count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am curious if this is the correct behavior for the Max Record Count property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, this is a 10.11 server, has this been changed or corrected in newer versions?&amp;nbsp; I'd like my code to work correctly for as many cases as possible.&amp;nbsp; I don't have a newer server at my disposal to check with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course, if anyone knows a better workaround then quering the Map Server root, please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 15:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83054#M3222</guid>
      <dc:creator>james-rae</dc:creator>
      <dc:date>2016-05-13T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding differing Max Record Counts</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83055#M3223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you're seeing is a documented bug at 10.1.&amp;nbsp; Looks like it was fixed at 10.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDg2NDg1" title="http://support.esri.com/en/bugs/nimbus/TklNMDg2NDg1"&gt;NIM086485 - Changes made in the Maximum number of records retu..&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 19:38:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83055#M3223</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-05-16T19:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding differing Max Record Counts</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83056#M3224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Bill.&amp;nbsp; Exactly the information I was hunting for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-differing-max-record-counts/m-p/83056#M3224</guid>
      <dc:creator>james-rae</dc:creator>
      <dc:date>2016-05-16T20:18:29Z</dc:date>
    </item>
  </channel>
</rss>

