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:
Symbol | Value | Label |
■ | p | p |
■ | Mmv | Mmc |
■ | Cco | Cco |
Here's what the Save As Style Items option produces:
| Name | Key |
■ | MapUnitPolys | MapUnitPolys_1 |
■ | MapUnitPolys | MapUnitPolys_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?