<?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: JavaScript API 4.24 - Feature Table - Getting Records Counts from Table into Console.log? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1227950#M79218</link>
    <description>&lt;P&gt;Is it possible to share the code&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 15:48:43 GMT</pubDate>
    <dc:creator>JayakumarPD</dc:creator>
    <dc:date>2022-11-02T15:48:43Z</dc:date>
    <item>
      <title>JavaScript API 4.24 - Feature Table - Getting Records Counts from Table into Console.log?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1227685#M79208</link>
      <description>&lt;P&gt;Hello everyone. I have a working app that includes using a query to return results to a feature table.&amp;nbsp; The feature table shows the number of records returned and selected.&lt;/P&gt;&lt;P&gt;My question is, how can I return the number of records from the feature table in console.log?&amp;nbsp; I am wanting to set up some alerts for end users if the results are 0.&lt;/P&gt;&lt;P&gt;I thought I could dome something like results.length, but that does not seem to be available.&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 21:09:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1227685#M79208</guid>
      <dc:creator>ipeebles</dc:creator>
      <dc:date>2022-11-01T21:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript API 4.24 - Feature Table - Getting Records Counts from Table into Console.log?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1227950#M79218</link>
      <description>&lt;P&gt;Is it possible to share the code&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 15:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1227950#M79218</guid>
      <dc:creator>JayakumarPD</dc:creator>
      <dc:date>2022-11-02T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript API 4.24 - Feature Table - Getting Records Counts from Table into Console.log?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1228084#M79221</link>
      <description>&lt;P&gt;This seems to be the solution I am looking for...&lt;/P&gt;&lt;P&gt;// Gets Records in Console for Feature Table&lt;BR /&gt;featureLayer.queryFeatureCount().then(function(numFeatures){&lt;BR /&gt;// prints the total count to the console&lt;BR /&gt;console.log("Feature Table - Number of Features Returned: ", numFeatures);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This snippet of code will return the number of features that are populated in the feature table based on the definition query from the feature layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 20:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1228084#M79221</guid>
      <dc:creator>ipeebles</dc:creator>
      <dc:date>2022-11-02T20:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript API 4.24 - Feature Table - Getting Records Counts from Table into Console.log?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1228194#M79222</link>
      <description>&lt;P&gt;Good you got the solution !&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 03:00:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-24-feature-table-getting-records/m-p/1228194#M79222</guid>
      <dc:creator>JayakumarPD</dc:creator>
      <dc:date>2022-11-03T03:00:32Z</dc:date>
    </item>
  </channel>
</rss>

