Scripting service publishing with ArcPy

ArcGIS includes the ArcPy site package that you can use for managing data store items and publishing service definitions with Python.

ArcPy is a nice complement to the ArcGIS Server Administrator API. For example, using ArcPy, you can convert map documents into service definitions and upload them to the server, change the paths of layers in a map document, or even add additional layers and then publish a service.

Here are some ways you can use ArcPy with ArcGIS Server:

See the code examples in this help book to learn how to work with services using ArcPy.

Related Topics

12/18/2014