Skip To Content

An overview of the Publishing toolset

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


Stage Service

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

Upload Service Definition

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

Publishing toolset

Automating the sharing of web layers and services can be accomplished by using a combination of tools in the Publishing toolset and ArcPy functions. 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 or service 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 or service.

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

Related topics