<?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 Pop-up Arcade expression throws error when used for symbology in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-expression-throws-error-when-used/m-p/1284043#M51797</link>
    <description>&lt;P&gt;I've successfully used Arcade, in both Map Viewer and Map Viewer Classic, to develop pop-ups that pull data from a related table, using an expression similar to the one below:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;var tableRel = OrderBy(FeatureSetByRelationshipName($feature,"",["*"],false),'assessment_time DESC');&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This pop-up expression can be saved w/o error and, along with other lines of arcade code, returns data from the related table. However, when I try to use that same expression (in a same map) in a Symbology expression, I receive an error and am unable to save the expression at all. Has anyone found a way around this strange restriction?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 28 Apr 2023 18:50:00 GMT</pubDate>
    <dc:creator>udv1019</dc:creator>
    <dc:date>2023-04-28T18:50:00Z</dc:date>
    <item>
      <title>Pop-up Arcade expression throws error when used for symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-expression-throws-error-when-used/m-p/1284043#M51797</link>
      <description>&lt;P&gt;I've successfully used Arcade, in both Map Viewer and Map Viewer Classic, to develop pop-ups that pull data from a related table, using an expression similar to the one below:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;var tableRel = OrderBy(FeatureSetByRelationshipName($feature,"",["*"],false),'assessment_time DESC');&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This pop-up expression can be saved w/o error and, along with other lines of arcade code, returns data from the related table. However, when I try to use that same expression (in a same map) in a Symbology expression, I receive an error and am unable to save the expression at all. Has anyone found a way around this strange restriction?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Apr 2023 18:50:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-expression-throws-error-when-used/m-p/1284043#M51797</guid>
      <dc:creator>udv1019</dc:creator>
      <dc:date>2023-04-28T18:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up Arcade expression throws error when used for symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-expression-throws-error-when-used/m-p/1284075#M51802</link>
      <description>&lt;P&gt;The FeatureSetByRelationshipName isn't supported for symbology since it would have to query the related record for every feature being drawn.&amp;nbsp; As opposed to just a single feature for a popup.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 20:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-expression-throws-error-when-used/m-p/1284075#M51802</guid>
      <dc:creator>Justin_Greco</dc:creator>
      <dc:date>2023-04-28T20:26:01Z</dc:date>
    </item>
  </channel>
</rss>

