<?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: limit the number of features in feature layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1201924#M78261</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;maxRecordCount property needs to be set at the time of feature service publishing:&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are using Query class to query features from your FeatureLayer then use the Query.num property to specify the number of features to retrieve:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#num" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#num&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 15:16:47 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2022-08-11T15:16:47Z</dc:date>
    <item>
      <title>limit the number of features in feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1201887#M78260</link>
      <description>&lt;P&gt;I use the feature Layer&amp;nbsp;&lt;SPAN&gt;definitionExpression property, and it is working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I want to limit the number of features the feature layer will load or display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to that in JS or it has to done it arcgis pro(before publishing the layer)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 14:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1201887#M78260</guid>
      <dc:creator>GuyShaharabani</dc:creator>
      <dc:date>2022-08-11T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: limit the number of features in feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1201924#M78261</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;maxRecordCount property needs to be set at the time of feature service publishing:&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are using Query class to query features from your FeatureLayer then use the Query.num property to specify the number of features to retrieve:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#num" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#num&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 15:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1201924#M78261</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2022-08-11T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: limit the number of features in feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1202661#M78281</link>
      <description>&lt;P&gt;but the property&amp;nbsp;&lt;SPAN&gt;maxRecordCount determines the number of features returned&amp;nbsp;from a query, I just want to limit to number of features displayed from the layer at all times.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;am I worng?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2022 08:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-the-number-of-features-in-feature-layer/m-p/1202661#M78281</guid>
      <dc:creator>GuyShaharabani</dc:creator>
      <dc:date>2022-08-14T08:21:07Z</dc:date>
    </item>
  </channel>
</rss>

