Hi, I am sure there must be an easy way to save a layer style in Map Viewer to import and re-use with other feature layers in the same map, or in new web maps. I know I can save styling configured to a layer by clicking the 3 dots next to the layer & saving the layer, as opposed to just saving the web map. But then is there a way to copy that styling to another feature layer that has the same schema?
I just reviewed the "What's New in ArcGIS Online - June 2023" blog and didn't see anything there.
We currently do not have a way out of the box to apply a style from one layer to another in Map Viewer. If you are comfortable with modifying web map JSON you could duplicate the layer that has been styled as you want and use ago-assistant to swap out the source url and item.
Thank you Russ. If I'm not comfortable with modifying JSON or AGO Assistant, then I have to re-symbolize manually each time?
Yup you will have to manually do it, if you have pro you could do this workflow:
- Copy and paste the feature layer with the styling/config you want.
- Set the data source to the other feature layer
- Save Web Map from Pro on the Share ribbon.
If you are comfortable with Python and JSON files you can use the ArcGIS for Python API and store your symbology in JSON files. See this community post.
Thanks. I'm not versed in Python or JSON but your community post is helpful so I a may be able to follow that.