<?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: Dynamic symbology based on days passed in ArcGIS Collector Questions</title>
    <link>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474003#M8128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try symbolizing the map using Arcade expression. (note: arcade expressions are not supported in Classic Collector).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/474077_arcadesymbolstyle.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/474078_arcadesymbolstyle2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example the creation date is used, but you could use last edited date, if you process is to just keep the attribute up to date for areas that have had treatments applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var time1 = Date($feature["created_date"])&lt;BR /&gt;if(DateDiff(Now(), time1, 'hours')&amp;lt;=1){&lt;BR /&gt; Var Status = "New";&lt;BR /&gt;}&lt;BR /&gt;else if(DateDiff(Today(), time1, 'days')&amp;gt;=0){&lt;BR /&gt; var Status = "Old";&lt;BR /&gt;}&lt;BR /&gt;else{&lt;BR /&gt; var Status = "Current";&lt;BR /&gt;} &lt;BR /&gt;return Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/474079_arcadesymbolstyle3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/474080_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2019 17:41:58 GMT</pubDate>
    <dc:creator>MarkBockenhauer</dc:creator>
    <dc:date>2019-11-20T17:41:58Z</dc:date>
    <item>
      <title>Dynamic symbology based on days passed</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474001#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to have symbology for a pesticide treatment automatically change after 6 days from the application. how would I go about doing this? I would like it to be visible to field workers in collector as well as AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474001#M8126</guid>
      <dc:creator>AGMAD</dc:creator>
      <dc:date>2019-11-05T17:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic symbology based on days passed</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474002#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No since dynamic symbol would be too slow.&amp;nbsp; What about having the layers in the map twice with a filter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 16:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474002#M8127</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-11-20T16:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic symbology based on days passed</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474003#M8128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try symbolizing the map using Arcade expression. (note: arcade expressions are not supported in Classic Collector).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/474077_arcadesymbolstyle.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/474078_arcadesymbolstyle2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example the creation date is used, but you could use last edited date, if you process is to just keep the attribute up to date for areas that have had treatments applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var time1 = Date($feature["created_date"])&lt;BR /&gt;if(DateDiff(Now(), time1, 'hours')&amp;lt;=1){&lt;BR /&gt; Var Status = "New";&lt;BR /&gt;}&lt;BR /&gt;else if(DateDiff(Today(), time1, 'days')&amp;gt;=0){&lt;BR /&gt; var Status = "Old";&lt;BR /&gt;}&lt;BR /&gt;else{&lt;BR /&gt; var Status = "Current";&lt;BR /&gt;} &lt;BR /&gt;return Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/474079_arcadesymbolstyle3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/474080_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 17:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474003#M8128</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2019-11-20T17:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic symbology based on days passed</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474005#M8130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. It helped a ton!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/474005#M8130</guid>
      <dc:creator>AGMAD</dc:creator>
      <dc:date>2019-12-02T16:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic symbology based on days passed</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/1314645#M13793</link>
      <description>&lt;P&gt;This post was amazing solution for what I was banging my head for a while. Thank you Mark! And thanks AGMAD for raising this post.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 16:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/dynamic-symbology-based-on-days-passed/m-p/1314645#M13793</guid>
      <dc:creator>JonDolphin</dc:creator>
      <dc:date>2023-08-02T16:13:12Z</dc:date>
    </item>
  </channel>
</rss>

