<?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: Arcade IIF statements and using 'OR' in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214233#M47967</link>
    <description>&lt;P&gt;For the "OR" expression, use the Logical Or &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#operators" target="_self"&gt;operator&lt;/A&gt; "||". Use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#find" target="_self"&gt;Find&lt;/A&gt; function to will check if a string of characters within a text value.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var redcolor = IIf($datapoint.STATUS == 'SCHEDULING' || Find($datapoint.STATUS, 'SCHEDULED') &amp;gt; -1 ,'#ff0000','#228B22')&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 20 Sep 2022 15:37:01 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2022-09-20T15:37:01Z</dc:date>
    <item>
      <title>Arcade IIF statements and using 'OR'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214221#M47966</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have the following arcade IIF statement:&lt;/P&gt;&lt;P&gt;var redcolor = IIf($datapoint.STATUS == 'SCHEDULING','#ff0000','#228B22')&lt;/P&gt;&lt;P&gt;Im using this statement for the Advanced Formatting&amp;nbsp; section for my List.&lt;/P&gt;&lt;P&gt;Im trying to come up with a scenario where can have something like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;var redcolor = IIf($datapoint.STATUS == 'SCHEDULING' OR $datapoint.STATUS &lt;STRONG&gt;CONTAINS TEXT&lt;/STRONG&gt; 'SCHEDULED' ,'#ff0000','#228B22')&lt;/P&gt;&lt;P&gt;Where I can implement an OR expression and also some sort of CONTAINS function to find records with those characters. I have yet to see any documentation for Arcade.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 15:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214221#M47966</guid>
      <dc:creator>collegekid_96</dc:creator>
      <dc:date>2022-09-20T15:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade IIF statements and using 'OR'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214233#M47967</link>
      <description>&lt;P&gt;For the "OR" expression, use the Logical Or &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#operators" target="_self"&gt;operator&lt;/A&gt; "||". Use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#find" target="_self"&gt;Find&lt;/A&gt; function to will check if a string of characters within a text value.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var redcolor = IIf($datapoint.STATUS == 'SCHEDULING' || Find($datapoint.STATUS, 'SCHEDULED') &amp;gt; -1 ,'#ff0000','#228B22')&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 15:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214233#M47967</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2022-09-20T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade IIF statements and using 'OR'</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214246#M47968</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 16:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-iif-statements-and-using-or/m-p/1214246#M47968</guid>
      <dc:creator>collegekid_96</dc:creator>
      <dc:date>2022-09-20T16:06:15Z</dc:date>
    </item>
  </channel>
</rss>

