<?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 Created a layer from a selection, but unique value symbology not showing in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691039#M102382</link>
    <description>&lt;P&gt;Hello everyone I am hoping I can get some help. So I created a new layer with the feature class to feature class tool. I basically just wanted all the pipes within an area to send out a map, but for some reason only one of the symbol classes is showing. The rest have counts, but will only show if I turn on show all other values even though that has a count of 0. One thing I think could be happening is the script for the custom field might be messing with something, but nothing looks wild to me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var x = DomainName($feature, 'ASSETTYPE')
var x2 = $feature.ASSETTYPE
var z = DomainName($feature, 'ownedby')
var z2 = $feature.ownedby
return When(
  (z2 == 30 &amp;amp;&amp;amp; (x2 == 7 || x2 == 8 || x2 == 9 || x2 == 10)), z+" Plastic",
  (z2 == 30 &amp;amp;&amp;amp; (x2 != 7 || x2 != 8 || x2 != 9 || x2 != 10)), z+" "+x,
  (z2 != 30 &amp;amp;&amp;amp; (x2 == 7 || x2 == 8 || x2 == 9 || x2 == 10)), "Plastic",
  (z2 != 30 &amp;amp;&amp;amp; (x2 != 7 || x2 != 8 || x2 != 9 || x2 != 10)), x,
  "Unknown"
);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any ideas, this is making me feel dumb!&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2026 15:41:17 GMT</pubDate>
    <dc:creator>Warmpita</dc:creator>
    <dc:date>2026-03-17T15:41:17Z</dc:date>
    <item>
      <title>Created a layer from a selection, but unique value symbology not showing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691039#M102382</link>
      <description>&lt;P&gt;Hello everyone I am hoping I can get some help. So I created a new layer with the feature class to feature class tool. I basically just wanted all the pipes within an area to send out a map, but for some reason only one of the symbol classes is showing. The rest have counts, but will only show if I turn on show all other values even though that has a count of 0. One thing I think could be happening is the script for the custom field might be messing with something, but nothing looks wild to me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var x = DomainName($feature, 'ASSETTYPE')
var x2 = $feature.ASSETTYPE
var z = DomainName($feature, 'ownedby')
var z2 = $feature.ownedby
return When(
  (z2 == 30 &amp;amp;&amp;amp; (x2 == 7 || x2 == 8 || x2 == 9 || x2 == 10)), z+" Plastic",
  (z2 == 30 &amp;amp;&amp;amp; (x2 != 7 || x2 != 8 || x2 != 9 || x2 != 10)), z+" "+x,
  (z2 != 30 &amp;amp;&amp;amp; (x2 == 7 || x2 == 8 || x2 == 9 || x2 == 10)), "Plastic",
  (z2 != 30 &amp;amp;&amp;amp; (x2 != 7 || x2 != 8 || x2 != 9 || x2 != 10)), x,
  "Unknown"
);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any ideas, this is making me feel dumb!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 15:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691039#M102382</guid>
      <dc:creator>Warmpita</dc:creator>
      <dc:date>2026-03-17T15:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Created a layer from a selection, but unique value symbology not showing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691215#M102399</link>
      <description>&lt;P&gt;Sorry I can't post any pictures as hosting sites are blocked from my work computer. Literally any ideas would be welcome as I am completely stumped here&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691215#M102399</guid>
      <dc:creator>Warmpita</dc:creator>
      <dc:date>2026-03-18T11:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Created a layer from a selection, but unique value symbology not showing</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691238#M102403</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;What are the symbol classes that are being returned? Do you have values in ASSETTYPE and ownedby that will return all possible classes? Arcade will not create a symbol for a value that isn't in the attributes. For example, if you don't have any ASSETTYPE == 30, the legend will not have the classes from lines 6 or 7. When I create a legend from an Arcade script, I'll put in dummy values in the attributes to get all the possible combinations, then remove them after running the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This is another way to write your script&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var x2 = $feature.ASSETTYPE;
var z2 = $feature.ownedby;

var x = iif(x2 &amp;gt;= 7 &amp;amp;&amp;amp; x2 &amp;lt;= 10, "Plastic", DomainName($feature, 'ASSETTYPE'));
return iif(z2 == 30, DomainName($feature, 'ownedby') + " " + x, x);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 13:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/created-a-layer-from-a-selection-but-unique-value/m-p/1691238#M102403</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2026-03-18T13:57:26Z</dc:date>
    </item>
  </channel>
</rss>

