<?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: Setting style based on Arcade expression in AGOL? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151891#M44772</link>
    <description>&lt;P&gt;Josh, shape_area does not reflect the area in sq ft.&amp;nbsp; It is why I have to leverage the Arcade expression.&lt;/P&gt;&lt;P&gt;Also, it is unclear how Expects() will work.&amp;nbsp; Can you please elaborate?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 20:19:23 GMT</pubDate>
    <dc:creator>JohnSasso2</dc:creator>
    <dc:date>2022-03-08T20:19:23Z</dc:date>
    <item>
      <title>Setting style based on Arcade expression in AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151760#M44757</link>
      <description>&lt;P&gt;I added the Microsoft Building Footprints - Features feature layer to my map in AGOL, which is a polygon feature layer.&amp;nbsp; I know I can add an Arcade expression to get the square footage of a feature via AreaGeodetic($feature,'squarefeet').&amp;nbsp; However, it seems that in AGOL Map Viewer, I cannot configure a style on such so I can color the polygons based on numeric classes/ranges of square footage.&amp;nbsp; Is this not possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnSasso2_0-1646754443371.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35857i9FA698ACBEDE92C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnSasso2_0-1646754443371.png" alt="JohnSasso2_0-1646754443371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 15:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151760#M44757</guid>
      <dc:creator>JohnSasso2</dc:creator>
      <dc:date>2022-03-08T15:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting style based on Arcade expression in AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151777#M44763</link>
      <description>&lt;P&gt;It is technically possible, but the symbology profile executes per feature, and will probably not have enough information to determine the symbology range, etc:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1646756003151.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35859iAC1B85D4822DAA34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1646756003151.png" alt="jcarlson_0-1646756003151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You should look at the function &lt;A href="https://developers.arcgis.com/arcade/function-reference/data_functions/#expects" target="_blank"&gt;Expects&lt;/A&gt;. This, however, will only work if the area is a &lt;EM&gt;field &lt;/EM&gt;in the layer.&lt;/P&gt;&lt;P&gt;Speaking of where, where are you pulling these features from? I found a version of it on AGOL, and the &lt;STRONG&gt;Shape__Area &lt;/STRONG&gt;field is an attribute available to symbolize on, so you don't even need Arcade for this.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 16:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151777#M44763</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-03-08T16:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting style based on Arcade expression in AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151891#M44772</link>
      <description>&lt;P&gt;Josh, shape_area does not reflect the area in sq ft.&amp;nbsp; It is why I have to leverage the Arcade expression.&lt;/P&gt;&lt;P&gt;Also, it is unclear how Expects() will work.&amp;nbsp; Can you please elaborate?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 20:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/setting-style-based-on-arcade-expression-in-agol/m-p/1151891#M44772</guid>
      <dc:creator>JohnSasso2</dc:creator>
      <dc:date>2022-03-08T20:19:23Z</dc:date>
    </item>
  </channel>
</rss>

