The Publishing toolset provides tools to stage and publish GIS resources. Publishing GIS resources can be accomplished using ArcGIS Desktop.
Automating the publishing of map, image, or geoprocessing services can be accomplished by using a combination of arcpy functions and the geoprocessing tools in the Publishing toolset. The workflow begins with a map, image, or model that you want to publish.
- First, use one of the arcpy functions CreateMapSDDraft (in arcpy.mapping), CreateImageSDDraft, or CreateGPSDDraft to create a service definition draft.
- Next, you should analyze the service definition draft for issues that could prevent you from publishing successfully. This is done using the AnalyzeForSD function. Even though this function is in arcpy.mapping, it can be used on image and geoprocessing service definition drafts as well.
- After analyzing the service definition draft and addressing serious issues, you can stage the service definition. Staging takes the service definition draft and consolidates all the information needed to publish the 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 to the server and publish the map service.
Creates a web map within a portal (Portal for ArcGIS or a local portal) from an MXD (map document). Requires an account that can authenticate with ArcGIS.com or a local portal to publish services and create the web map.
Allows you to sign in to portals. If you are publishing to an ArcGIS Online portal you need to be signed in to ArcGIS Online in order to publish. For those organizations that would like to use ArcGIS Online behind the firewall or in their own private cloud, there is a version that you can install and use on your own computer networks. It is called Portal for ArcGIS.
Signs out from the portal that you are currently signed in to. For those organizations that would like to use ArcGIS Online behind the firewall or in their own private cloud, there is a version that you can install and use on your own computer networks. It is called Portal for ArcGIS.
Stages a service definition. A staged service definition (.sd) file contains all the necessary information needed to publish a GIS service, including data that must be copied to the server because it does not appear in the server's data store.
Uploads and publishes a GIS service to a specified GIS server based on a staged service definition file (.sd).