Save As Style Items save unique values as the layer name

240
2
Jump to solution
08-09-2024 10:00 AM
Labels (1)
vlatane_va_energy
New Contributor

In 3.2, ArcGIS Pro added the ability to save all style items for a project in a stylx file at once. I attempted to use this feature on a project with several layers that use Unique Values symbology. I expected that each unique value's symbol would be saved to a style item and saved as the name of the value being symbolized.

Instead, I see that while each symbol is saved, the style item is named after the Layer Name.

For example, if I want to save styles from layer MapUnitPolys, a layer with Unique Values based on the Symbol field that looks like this:

SymbolValueLabel
pp
MmvMmc
CcoCco
 
Here's what the Save As Style Items option produces:
 
 NameKey
MapUnitPolysMapUnitPolys_1
MapUnitPolysMapUnitPolys_2
MapUnitPolys

MapUnitPolys_3

 

This kind of style item makes matching symbology to a style difficult, as there is no commonality between the values in the Symbol field and the name or key of the style items.

This naming convention holds true whether "Include Duplicate Style Items" is checked or not. I also noticed that the Esri example included with the release of this option shows Single Symbol layers being saved. This would pose less of an issue because the layer name would probably be the same as what the symbol should be saved as.

Is it possible this tool is not meant to name style items based on the value of the field used for symbology? Is this expected behavior for the tool?

1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

Save symbols in styles—ArcGIS Pro | Documentation

The comment in there suggests that if you want control over the names and other properties you can do them one at a time, or... use the save all at once option, then, change them after.

I suspect that the tool is working as expected, but not as you want it to since it doesn't appear to be a shortcut to the naming process


... sort of retired...

View solution in original post

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Save symbols in styles—ArcGIS Pro | Documentation

The comment in there suggests that if you want control over the names and other properties you can do them one at a time, or... use the save all at once option, then, change them after.

I suspect that the tool is working as expected, but not as you want it to since it doesn't appear to be a shortcut to the naming process


... sort of retired...
0 Kudos
vlatane_va_energy
New Contributor

I suspect you are correct.

0 Kudos