<?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 Possibility to disable paging for WFS Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1594685#M86674</link>
    <description>&lt;P&gt;Automatic paging has been added to e.g. the WFS layer to improve performance. In my case it is in fact the opposite: I now get two requests to the WFS server instead of just one. First there is the "RESULTTYPE: hits" request and after that the GetFeature request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case I only load data from WFS services when I zoom close to the map. I am getting a limited set of data each time and I do not need paging. However, it seems impossible to turn paging off at the moment. A simple "maxPageCount: 0" could do the trick, but anything like that does not seem to be supported.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 13:05:44 GMT</pubDate>
    <dc:creator>mikkokärkkäinen</dc:creator>
    <dc:date>2025-03-12T13:05:44Z</dc:date>
    <item>
      <title>Possibility to disable paging for WFS Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1594685#M86674</link>
      <description>&lt;P&gt;Automatic paging has been added to e.g. the WFS layer to improve performance. In my case it is in fact the opposite: I now get two requests to the WFS server instead of just one. First there is the "RESULTTYPE: hits" request and after that the GetFeature request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case I only load data from WFS services when I zoom close to the map. I am getting a limited set of data each time and I do not need paging. However, it seems impossible to turn paging off at the moment. A simple "maxPageCount: 0" could do the trick, but anything like that does not seem to be supported.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1594685#M86674</guid>
      <dc:creator>mikkokärkkäinen</dc:creator>
      <dc:date>2025-03-12T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to disable paging for WFS Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1596643#M86724</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/889884"&gt;@mikkokärkkäinen&lt;/a&gt;,&amp;nbsp;have you tried modifying the maxRecordCount and/or maxPageCount properties?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#maxRecordCount" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#maxRecordCount&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#maxPageCount" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#maxPageCount&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 16:35:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1596643#M86724</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-03-18T16:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to disable paging for WFS Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1598301#M86746</link>
      <description>&lt;P&gt;Yes, I have looked into those. But as far as I can see, by modifying those properties I can get all the features in a single request, that is, in a single page. However, this will always result in two requests to the WFS service where there used to be only one request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I load data from WFS as the user moves around on the map, so there are potentially lots of requests firing. Setting the maxPageCount to 0 seems to have the same effect as setting it to 1. In many APIs setting parameters like these to 0 or -1 etc. results in disabling the feature. That is what I would like to be able to do as well. Without the ability to disable paging, I always get the "RESULTTYPE: hits" request first and only after that the actual request for the data. Looking at the network log in my browser I can see that a lot of times the "RESULTTYPE: hits" request is as slow or even slower than the actual request for the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Mar 2025 12:38:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1598301#M86746</guid>
      <dc:creator>mikkokärkkäinen</dc:creator>
      <dc:date>2025-03-22T12:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to disable paging for WFS Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1599082#M86753</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/889884"&gt;@mikkokärkkäinen&lt;/a&gt;&amp;nbsp;- thanks for bringing this to our attention! We'll investigate disabling paging when the maxPageCount is 0 or 1.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 16:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1599082#M86753</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2025-03-25T16:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to disable paging for WFS Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1602105#M86808</link>
      <description>&lt;P&gt;We've installed a fix for this for version 4.33, which is planned for release in June. Paging will be disabled when the maxPageCount is set to 0 or 1. You can test out this fix on the &lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self"&gt;/next&lt;/A&gt; version of the SDK:&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://js.arcgis.com/next" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/next&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let us know if you have any feedback - thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 22:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1602105#M86808</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2025-04-02T22:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Possibility to disable paging for WFS Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1605191#M86909</link>
      <description>&lt;P&gt;Wow, this sounds great, thank you! I'll try to find time to test out the "next" version before the June release.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 14:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/possibility-to-disable-paging-for-wfs-layer/m-p/1605191#M86909</guid>
      <dc:creator>mikkokärkkäinen</dc:creator>
      <dc:date>2025-04-11T14:46:53Z</dc:date>
    </item>
  </channel>
</rss>

