<?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: Create custom symbology in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1520241#M61297</link>
    <description>&lt;P&gt;No worries, glad it's sorted&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 11:33:02 GMT</pubDate>
    <dc:creator>RichardHowe</dc:creator>
    <dc:date>2024-08-13T11:33:02Z</dc:date>
    <item>
      <title>Create custom symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1518912#M61292</link>
      <description>&lt;P&gt;Hi, I have a road layer which has a "last maintained" attribute column showing date. How do I create symbology in Map Viewer which differentiates between a date less than 60 days from current date and more than 60 days from current date?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 08:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1518912#M61292</guid>
      <dc:creator>ndrogemuller1</dc:creator>
      <dc:date>2024-08-13T08:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1519115#M61293</link>
      <description>&lt;P&gt;Create a variable with your last maintained field and add 60 to it, then call Now() and compare them e.g.:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;LM&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SP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;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;"Not due"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;This will give you two optional outputs to symbolise&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 09:13:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1519115#M61293</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-08-13T09:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1519714#M61294</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Being new to this, I've tried writing the above in the expression, with no luck. Mind you though the actual name of attribute is "Grade_date" which I put in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How exactly am I to write the expression?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 10:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1519714#M61294</guid>
      <dc:creator>ndrogemuller1</dc:creator>
      <dc:date>2024-08-13T10:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1519827#M61295</link>
      <description>&lt;P&gt;Are you putting the expression in here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardHowe_0-1723545400134.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112210i9D13E0FE30DDCFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardHowe_0-1723545400134.png" alt="RichardHowe_0-1723545400134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You would need to replace the "LastMaintained" with Grade_date (if you delete everything after the dot then it should show you a field list to pick from with the intellisense)&lt;BR /&gt;&lt;BR /&gt;You can always click run inside the expression window to check it is giving you a viable answer.&lt;BR /&gt;&lt;BR /&gt;I am also assuming that your "Grade_date" has a field type of "date", rather than being a string or a number.&lt;BR /&gt;&lt;BR /&gt;Assuming all this is correct then you pick a style in your case "Types (unique symbol)" and then set your symbology - one for "Overdue" and one for "Not yet due"&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 10:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1519827#M61295</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-08-13T10:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1520227#M61296</link>
      <description>&lt;P&gt;Thanks Richard!&lt;/P&gt;&lt;P&gt;Turns out I had the field type as text string and not date. Fixed that and now all good.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 11:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1520227#M61296</guid>
      <dc:creator>ndrogemuller1</dc:creator>
      <dc:date>2024-08-13T11:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1520241#M61297</link>
      <description>&lt;P&gt;No worries, glad it's sorted&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 11:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-custom-symbology/m-p/1520241#M61297</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-08-13T11:33:02Z</dc:date>
    </item>
  </channel>
</rss>

