I have a view layer of a hosted feature service that I am trying to set default symbology for.
I set the symbology of the hosted feature service and the view layer in the Visualization tab of the item properties for both items.
When I add the service URL to a new map, the symbology I set doesn't get brought in. I will be sharing this view layer with an outside organization, so sharing the URL of the view layer is the easiest option in this case. Is there something that I might be missing to make this happen?
Thanks - Josh
Saving from the viz tab will not save it back to the service but will store it in the item. You would have to update the definition of the layer at the REST endpoint. https://developers.arcgis.com/rest/services-reference/online/update-definition-feature-layer-.htm
ah got it! Thank you @RussRoberts. Would you happen to know how to get the drawingInfo JSON for any of the ArcGIS Online symbology?