<?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 Count of points within polygons in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/count-of-points-within-polygons/m-p/1697410#M11897</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to follow this example Arcade script (&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-display-the-counts-of-point-features-within-poly-000031381" target="_blank"&gt;Display the Counts of Point Features within Polygon Features Using Arcade in ArcGIS Dashbo&lt;/A&gt;) to show the number of points within a polygon in an Indicator. Can anyone tell me what the pointlayer_ID / polygonlayer_ID refers to? Is it the layer ID like 'Layer: Wells (ID: 3)' e.g.&amp;nbsp;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;point_layer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByPortalItem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN&gt;, 3&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If so, I haven't been able to get this to work, it just returns an error.&lt;BR /&gt;&lt;BR /&gt;I'm using ArcGIS Enterprise 11.5 and working with layers in a map image layer.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Stephen&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 11:10:21 GMT</pubDate>
    <dc:creator>StephenKing3</dc:creator>
    <dc:date>2026-04-21T11:10:21Z</dc:date>
    <item>
      <title>Count of points within polygons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/count-of-points-within-polygons/m-p/1697410#M11897</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to follow this example Arcade script (&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-display-the-counts-of-point-features-within-poly-000031381" target="_blank"&gt;Display the Counts of Point Features within Polygon Features Using Arcade in ArcGIS Dashbo&lt;/A&gt;) to show the number of points within a polygon in an Indicator. Can anyone tell me what the pointlayer_ID / polygonlayer_ID refers to? Is it the layer ID like 'Layer: Wells (ID: 3)' e.g.&amp;nbsp;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;point_layer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByPortalItem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN&gt;, 3&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If so, I haven't been able to get this to work, it just returns an error.&lt;BR /&gt;&lt;BR /&gt;I'm using ArcGIS Enterprise 11.5 and working with layers in a map image layer.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 11:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/count-of-points-within-polygons/m-p/1697410#M11897</guid>
      <dc:creator>StephenKing3</dc:creator>
      <dc:date>2026-04-21T11:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count of points within polygons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/count-of-points-within-polygons/m-p/1697418#M11899</link>
      <description>&lt;P&gt;I solved it. The format is e.g.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;point_layer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByPortalItem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'9ec5c60bf56a652dad7f80352022c3e1'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Where the long number is the service item ID followed by the layer ID&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:17:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/count-of-points-within-polygons/m-p/1697418#M11899</guid>
      <dc:creator>StephenKing3</dc:creator>
      <dc:date>2026-04-21T12:17:34Z</dc:date>
    </item>
  </channel>
</rss>

