1

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.

1

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, privacy policy and cookie policy

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