Uploading a Service Definition File Using ArcPy

GIS How-To for Uploading a Service Definition File Using ArcPy

For some reason, MDCS can't upload service definition with credentials in JSON (mdcs-py/Parameter/Credentials/server1.json).
Thus, it's better to stop MDCS at creating service definition and use another script for uploading.

Step-by-step guide

  1. Create service definition file using MDCS.
  2. Upload using arcpy function.
Information Icon

If upload.py fails with strange error message, restart the ArcGIS Server.

Last Updated