AnsweredAssumed Answered

Publish service directly on server

Question asked by dkwiens Champion on Sep 28, 2020
Latest reply on Oct 2, 2020 by dkwiens

I've been publishing services through arcpy and service definition files from a remote machine, but now want to publish services from a mosaic dataset actually stored on the ArcGIS Server machine.


Is this possible? Is there a local script on the ArcGIS Server for publishing services?


The first problem I've encountered with this plan is that arcpy installed on the server does not seem to include the mapping module, necessary for creating the connection file (which shouldn't be necessary, since I'm already on the machine): CreateGISServerConnectionFile—Help | ArcGIS for Desktop 


The rest of my workflow involves creating, staging, and uploading a service definition file.