I have a federated Arcgis Portal 10.6 and I use Arcgis Pro 2.3 for publishing.

What I'm looking for

My final aim is to publish all the layers in a given map individually (not as a single Map Service with all layer at the same time). I want to be able to use individually each layer and it's cache.

What I do now

When I wish to publish a layer from Arcgis Pro, I go in the map where all my layers are and right click on the layer I wish to publish.

Then I select Sharing | Share as Web Layer :

enter image description here

I then have the following panel :

enter image description here

My Question

How do I batch this single operation ? I couldn't find a toobox matching this process. I did find a page mentionning arcpy.sharing but I would like to avoid coding if possible.

2 Answers 2


I am not sure what version this was added. But as of 2.4 you can Share as Web Map, and under Configuration, use Split to split various layers into their own feature layers. These will be their own web feature layers (services) and all be added to the web map.

As commented by @gisnside, there are more precise instructions at Configure a web map in the ArcGIS Pro Online Help.

split manipulation

There is also an ArcGIS Idea to Publish Individual Web Layers to AGOL.


There is no UI option to "batch" sharing single layers as their own service.

Unless you're open to writing Python code, you cannot achieve this workflow. There are not any tools you could chain together in ModelBuilder. Only the arcpy commands.

Note, using the Python/arcpy method, you'd need to identify layers in the map, and then either remove all other layers, or add that layer to an empty map. The FeatureSharingDraft command uses a map, thus will publish all the layers in the map.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.