<?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 Arcade Task - Display ROW Acres in Popup Using ROW &amp;amp; Tax Parcel Layers in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-task-display-row-acres-in-popup-using-row/m-p/1559766#M1507</link>
    <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am trying to build a popup expression (Arcade) calculating the acreage of one layer against another layer within the same AGOL web map. My goal is for it to be dynamic and something that prevents me having to recalculate every time the layer is updated. Can anyone point me to a similar solution or documentation that will help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you -&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 17:11:51 GMT</pubDate>
    <dc:creator>LeighOneill</dc:creator>
    <dc:date>2024-11-18T17:11:51Z</dc:date>
    <item>
      <title>Arcade Task - Display ROW Acres in Popup Using ROW &amp; Tax Parcel Layers</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-task-display-row-acres-in-popup-using-row/m-p/1559766#M1507</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am trying to build a popup expression (Arcade) calculating the acreage of one layer against another layer within the same AGOL web map. My goal is for it to be dynamic and something that prevents me having to recalculate every time the layer is updated. Can anyone point me to a similar solution or documentation that will help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you -&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 17:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-task-display-row-acres-in-popup-using-row/m-p/1559766#M1507</guid>
      <dc:creator>LeighOneill</dc:creator>
      <dc:date>2024-11-18T17:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Task - Display ROW Acres in Popup Using ROW &amp; Tax Parcel Layers</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-task-display-row-acres-in-popup-using-row/m-p/1569063#M1539</link>
      <description>&lt;P&gt;Hi, can you please specify what you mean by "calculate the acreage of one layer against another layer"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'm assuming correctly that you need to do a mathematical calculation that uses the calculated acreage of a polygon as one input and a value from another layer as another input, then I'd advise that you look into the &lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyid" target="_self"&gt;FeatureSetbyID&lt;/A&gt; documentation.&lt;BR /&gt;&lt;BR /&gt;Then follow a workflow akin to this example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;// call feature data and limit the fields to just the match field and the field you need for the calculation&lt;BR /&gt;var fs = FeatureSetByName(@map, "Layer", ['MatchField', 'FieldName'], false)&amp;nbsp;&lt;/P&gt;&lt;P&gt;//filter the featureset by match field using a sql query&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var sql = "MatchField = '" + $feature.MatchField + "'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var filtered_fs = Filter(fs, sql)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// get the data you need using the 'First' function since there should only be one row in your dataset&lt;/P&gt;&lt;P&gt;var FieldName = First(filtered_fs).FieldName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//do whatever calculation you need&lt;/P&gt;&lt;P&gt;return FieldName &amp;lt;whatever calculation you need&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 21:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-task-display-row-acres-in-popup-using-row/m-p/1569063#M1539</guid>
      <dc:creator>LibbieWeimer</dc:creator>
      <dc:date>2024-12-16T21:04:37Z</dc:date>
    </item>
  </channel>
</rss>

