<?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 Expression in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression/m-p/1229339#M48757</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am seeking to use an arcade expression that would change the symbology color of one field (Light Type) based on the input of another field (Approved Occupant). To be clear I am basically a beginner at creating Arcade expressions, but I believe this can be achieved regardless of what our IT programmers say. The “Light Type “ field is the default red color, there are 28 light types in the drop-down, and the “Approved Occupant” has 12 occupant types in the drop-down.&lt;/P&gt;&lt;P&gt;So in terms of logic, I’m thinking:&lt;/P&gt;&lt;P&gt;&amp;nbsp;If &amp;nbsp;“approved occupant is COB” then “light type” = eb1515 ( or whatever color).&lt;/P&gt;&lt;P&gt;Is this remotely close to getting started? Do I have to write an expression for each occupant and each light type? Or an I use a wildcard to select all “Light Types” instead of having to select an occupant per light type? Any help or documentation is greatly appreciated.&lt;/P&gt;&lt;P&gt;My current solution is using two layers with different symbology see attached images.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 21:14:52 GMT</pubDate>
    <dc:creator>WardMitchell2</dc:creator>
    <dc:date>2022-11-07T21:14:52Z</dc:date>
    <item>
      <title>Arcade Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression/m-p/1229339#M48757</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am seeking to use an arcade expression that would change the symbology color of one field (Light Type) based on the input of another field (Approved Occupant). To be clear I am basically a beginner at creating Arcade expressions, but I believe this can be achieved regardless of what our IT programmers say. The “Light Type “ field is the default red color, there are 28 light types in the drop-down, and the “Approved Occupant” has 12 occupant types in the drop-down.&lt;/P&gt;&lt;P&gt;So in terms of logic, I’m thinking:&lt;/P&gt;&lt;P&gt;&amp;nbsp;If &amp;nbsp;“approved occupant is COB” then “light type” = eb1515 ( or whatever color).&lt;/P&gt;&lt;P&gt;Is this remotely close to getting started? Do I have to write an expression for each occupant and each light type? Or an I use a wildcard to select all “Light Types” instead of having to select an occupant per light type? Any help or documentation is greatly appreciated.&lt;/P&gt;&lt;P&gt;My current solution is using two layers with different symbology see attached images.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 21:14:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression/m-p/1229339#M48757</guid>
      <dc:creator>WardMitchell2</dc:creator>
      <dc:date>2022-11-07T21:14:52Z</dc:date>
    </item>
  </channel>
</rss>

