<?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: Custom Arcade symbology and symbol classes without features in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380436#M16719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/DMS2"&gt;DMS2&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried adding the missing values?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/481983_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2020 12:55:31 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-02-12T12:55:31Z</dc:date>
    <item>
      <title>Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380435#M16718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using symbology classes defined by a custom Arcade expression.&lt;/P&gt;&lt;P&gt;My problem is that if there's no feature that satisfies some of the defined classes those symbols will not show in the &lt;STRONG&gt;Classes&lt;/STRONG&gt; tab and therefore I can't format the symbol for future features that will fall in that class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an excerpt of my Arcade expression:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if (Left($feature.KEY, 2) == '01')&lt;BR /&gt;{return "Oak";}&lt;BR /&gt;else if (Left($feature.KEY, 2) == '02')&lt;BR /&gt;{return "Palm tree";}&lt;BR /&gt;else if (Left($feature.KEY, 2) == '03')&lt;BR /&gt;{return "Cherry tree";}&lt;BR /&gt;else if (Left($feature.KEY, 2) == '04' || Left($feature.KEY, 2) == '05')&lt;BR /&gt;{return "Pine";}&lt;BR /&gt;else if (Left($feature.KEY, 2) == '07')&lt;BR /&gt;{return "Ash";}&lt;BR /&gt;else if (Left($feature.KEY, 2) == '08' || Left($feature.KEY, 2) == '09')&lt;BR /&gt;{return "Beech";}&lt;BR /&gt;else if (Left($feature.KEY, 2) == '10')&lt;BR /&gt;{return "Cedar";}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we have no catalogued Ash nor Cedar, so there's no feature with KEY values starting with 07 or 10, but we will eventually in the future and need to format a symbol for those symbol classes.&lt;/P&gt;&lt;P&gt;As you see below, those classes do not show in the Classes tab and the 'Add unlisted value' option doesn't list those symbols either.&lt;/P&gt;&lt;P&gt;I thought of adding some dummy features with the missing KEY values to be able to format their symbols but I don't have the privileges to add features to the catalogue feature class, so I don't know if that would work anyway.&lt;/P&gt;&lt;P&gt;Any idea of what to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Custom Arcade Symbol Classes" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/481977_CustomArcadeSymbology.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 09:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380435#M16718</guid>
      <dc:creator>AleydisG__Pere</dc:creator>
      <dc:date>2020-02-12T09:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380436#M16719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/DMS2"&gt;DMS2&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried adding the missing values?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/481983_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 12:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380436#M16719</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-12T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380437#M16720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clicked that option and it turned grayed out. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380437#M16720</guid>
      <dc:creator>AleydisG__Pere</dc:creator>
      <dc:date>2020-02-12T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380438#M16721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/DMS2"&gt;DMS2&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That wasn't supposed to happen. I will try and test something here to see what happens. In the mean time, maybe &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌ may know something....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/380438#M16721</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-12T14:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1147812#M51971</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Xander, did you ever find a solution for this? I am dealing with the same issue. Trying to create a bunch of custom symbol values for data collection layers that currently have no records that satisfy the custom symbol expressions. As a result I'm getting no symbols and they aren't automatically appearing after records do satisfy the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there an arcade expression for defining the different symbology values/classes regardless if they return any records? Something that would force them all to show?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 00:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1147812#M51971</guid>
      <dc:creator>DanMakridakis1</dc:creator>
      <dc:date>2022-02-25T00:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1193720#M57468</link>
      <description>&lt;P&gt;Has anyone figured this out???????&amp;nbsp; Sharing would be much appreciated!!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 22:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1193720#M57468</guid>
      <dc:creator>LisaMcAleer</dc:creator>
      <dc:date>2022-07-19T22:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1193901#M57489</link>
      <description>For whichever combination of attributes you would potentially want to display add a feature expression in your web map for each value you would want shown just keep adding on to the framework, present and future sample below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;var status = $feature["STATUS"]&lt;BR /&gt;var type = $feature["TYPE"]&lt;BR /&gt;&lt;BR /&gt;if ((status == "Value_Status_1") &amp;amp;&amp;amp; (type == "Value_Type_1")) {&lt;BR /&gt;&lt;BR /&gt;return "Status 1 - Type 1 Legend Label"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;if ((status == "Value_Status_2") &amp;amp;&amp;amp; (type == "Value_Type_2")) {&lt;BR /&gt;&lt;BR /&gt;return " Status 2 - Type 2 Legend Label "&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;else {&lt;BR /&gt;&lt;BR /&gt;return "Other" }&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1193901#M57489</guid>
      <dc:creator>Dwight</dc:creator>
      <dc:date>2022-07-20T13:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1193958#M57503</link>
      <description>&lt;P&gt;Hey Dwight, Thanks for responding.&amp;nbsp; This seems to be pretty much what I currently have, I think. In my map, at any rate, it does not list any values that are not currently in the dataset.&amp;nbsp; I can code for&amp;nbsp; if (Status=="Dog") { return "WOOF"}, but it won't display the legend item WOOF in my legend list until I actually get a "Dog" feature in my data.&amp;nbsp; And that's what we are all here looking to do:&amp;nbsp; Display and symbolize potential features in the legend BEFORE those features actually exist in the data.&amp;nbsp; I know this could be accomplished with a hosted feature dataset published from Pro, but the particular dataset I'm working with is hosted on our AGOL but the data is actually a live feed from a 3rd party vender application.&amp;nbsp; Long story short, I cannot establish a domain (add values to a list) for my display field in AGOL, nor can I add items to the legend that aren't currently in the dataset.&amp;nbsp; I'd like to avoid having to constantly go into AGOL and custom symbolize new data.&amp;nbsp; I guess I'm actually trying to replicate some type of layer file with arcade so my data would be "pre- custom symbolized," but so far I haven't found a way to make that happen........&amp;nbsp; I should add that I'm currently working in AGOL Map Classic. Not sure if the new viewer has anything more to offer.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 14:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1193958#M57503</guid>
      <dc:creator>LisaMcAleer</dc:creator>
      <dc:date>2022-07-20T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194018#M57512</link>
      <description>&lt;P&gt;I believe this functionality is only available with the new map viewer.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 15:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194018#M57512</guid>
      <dc:creator>Dwight</dc:creator>
      <dc:date>2022-07-20T15:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194020#M57513</link>
      <description>&lt;P&gt;Alrighty, Thanks, Dwight!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 15:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194020#M57513</guid>
      <dc:creator>LisaMcAleer</dc:creator>
      <dc:date>2022-07-20T15:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194115#M57531</link>
      <description>&lt;P&gt;Lisa, the below solution may work for you in AGOL but I haven't tested it there. This however was my approach for when I encountered it in Pro:&lt;/P&gt;&lt;P&gt;It's been a minute since I was working on this same problem, but I believe my only solution was to create dummy records for every custom symbol while setting up the symbology. Each dummy record would be identified using a common value in a particular field. After everything was configured you can then use a definition query on the layer to omit the dummy records based on that common dummy value (or by querying out their object ids). You can later delete the dummy records once a real record satisfices that expression.&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;Another frustrating issue I constantly run into with the custom symbols expression, is that they always reset any time I altered the symbol expression. I would spend all this time creating the custom expressions for them, then creating custom symbols for each category only for it all to disappear the second I altered anything in the expression.&lt;/P&gt;&lt;P&gt;This was particularly annoying for a project where I had a different layer for all operators, each with the same custom symbol expression and symbols that would require updating. To prevent the need to redo the symbols for every layer when I wanted to change something, I created a python script which would regenerate the individual operator layers based on a template layer. The script would take the template and update the definition query and layer name based on a list of operator names. I would then only need to update a single template layer each time a change was needed. To keep this properly linked to my webmaps, the script would also assign a service layer ID to each layer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanMakridakis_0-1658344034915.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/46329i8463C27370CED818/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanMakridakis_0-1658344034915.png" alt="DanMakridakis_0-1658344034915.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 21:50:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194115#M57531</guid>
      <dc:creator>DanMakridakis</dc:creator>
      <dc:date>2024-03-25T21:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Arcade symbology and symbol classes without features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194443#M57562</link>
      <description>&lt;P&gt;Thanks for your input, Dan.&amp;nbsp; I think your suggestions would work if I were publishing my data from Pro into AGOL.&amp;nbsp; But my data is actually a feed coming from a third party vendor that's published on our AGOL, so I can't publish or republish it.&amp;nbsp; Data values will also come and go routinely, so a value that's there today may be gone tomorrow.&amp;nbsp; I've been told that the new viewer may have more functionality, so I have to check that out.&amp;nbsp; I will post anything I learn.&amp;nbsp; Again, thanks for playing ;&amp;nbsp; )&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 15:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-arcade-symbology-and-symbol-classes-without/m-p/1194443#M57562</guid>
      <dc:creator>LisaMcAleer</dc:creator>
      <dc:date>2022-07-21T15:03:05Z</dc:date>
    </item>
  </channel>
</rss>

