I am able to export an entire pro project to a .stylx file with Share> Style Items.
I am able to export one symbol using Save Symbol to Style.
How do you export a layer's symbology that has multiple classes? This should be much easier.
Or, how do you export a map and not the entire project?
Export as one stylx:?
The goal is to publish to AGO as a web stylx.
I don't know about AGO but
Share a map package—ArcGIS Pro | Documentation
is for sharing maps but it isn't an stylx
in that help topic area there is a "Share a web style" but it is for existing styles and not map specific.
I think you want to create a new style with only the symbols you want to export.
So, in catalog, double click on a style and it will open the style manager. Right click and add a new Style:
Then, you can open the style that you used for the map, expand Point symbol, hold shift to select the symbols you want, right click, copy, go back to syle manager, right click on the newly created style, and select paste.
This will add the point symbols to new style that can now be shared and only contains the intended symbols.
If you are using custom symbols (changed size/color/etc. from the original style), with just a few like that, it might be easier to just save them to the newly created style file.
So, for this method, follow the above to create new stylx file, then go to the symbology tab for that layer.
Click on a symbol and in the upper right waffle, select Save symbol to style:
Give the style a name and select the new stylx file:
Repeat for the other 4 symbols and you now have a style file that can now be shared.
R_
This is what I was doing but considering there is a Share>Style Items for the whole project, its baffling there is no Share>Style Items for layer or Share>Style Items for map.
See my post above, then you can right click on the 'new' style and 'Share as Web Style' to share with AGOL.
R_