<?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 AGOL symbolgy by date in Defense and Intelligence Questions</title>
    <link>https://community.esri.com/t5/defense-and-intelligence-questions/agol-symbolgy-by-date/m-p/3433#M1</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If points have a start date and end date in the attribute table, is it possible to symbolize them as active or inactive in AGOL based on the current date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2019 15:52:30 GMT</pubDate>
    <dc:creator>JDSF_PeterRowland</dc:creator>
    <dc:date>2019-04-16T15:52:30Z</dc:date>
    <item>
      <title>AGOL symbolgy by date</title>
      <link>https://community.esri.com/t5/defense-and-intelligence-questions/agol-symbolgy-by-date/m-p/3433#M1</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If points have a start date and end date in the attribute table, is it possible to symbolize them as active or inactive in AGOL based on the current date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 15:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/defense-and-intelligence-questions/agol-symbolgy-by-date/m-p/3433#M1</guid>
      <dc:creator>JDSF_PeterRowland</dc:creator>
      <dc:date>2019-04-16T15:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL symbolgy by date</title>
      <link>https://community.esri.com/t5/defense-and-intelligence-questions/agol-symbolgy-by-date/m-p/3434#M2</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can using Arcade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this map I am labeling by&amp;nbsp; Start Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="442168" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/442168_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Add an Arcade Expression&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="442235" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/442235_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few ways of doing this, I took an "IF Else" approach.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="442236" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/442236_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var starttime = $feature.startdate;&lt;BR /&gt;var endtime = $feature.enddate&lt;BR /&gt;var currenttime = Now()&lt;BR /&gt;var status = ""&lt;BR /&gt;if (starttime &amp;gt; currenttime){&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "Befor Start Date"&lt;BR /&gt;}&lt;BR /&gt;else if(currenttime &amp;lt; endtime){&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "Active"&lt;BR /&gt;}&lt;BR /&gt;Else{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "Past End Date"&lt;BR /&gt;}&lt;BR /&gt;return status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click OK and Done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Symbolized by status variable.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="442237" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/442237_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 18:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/defense-and-intelligence-questions/agol-symbolgy-by-date/m-p/3434#M2</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2019-04-16T18:13:29Z</dc:date>
    </item>
  </channel>
</rss>

