Skip To Content

An overview of the Publishing toolset

The Publishing toolset provides tools to stage and share web layers. Sharing hosted web layers can be accomplished using ArcGIS Pro.

Automating the sharing of web layers can be accomplished by using a combination of ArcPy functions and the geoprocessing tools in the Publishing toolset. The workflow begins with a map that you want to share.

  • First, create a service definition draft using the arcpy.sharing module, or the CreateImageSDDraft or CreateGPSDDraft ArcPy functions.
  • Next, stage the service definition. Staging takes the service definition draft and consolidates all the information needed to share the web layer into a complete service definition. Use the Stage Service geoprocessing tool to stage the service definition.
  • Finally, use the Upload Service Definition geoprocessing tool to upload the service definition and publish the web layer.

You will need to sign in to ArcGIS Online or ArcGIS Enterprise in order to share your web layer with an account that has privileges to create content and publish.


Stage Service

Stages a service definition. A staged service definition (.sd) file contains all the necessary information needed to share a web layer.

Upload Service Definition

Uploads and shares a hosted web layer to ArcGIS Online or ArcGIS Enterprise.

Publishing toolset

Related topics