AnsweredAssumed Answered

Python script to re-publish a MXD as a service and keep all the service settings

Question asked by amarsden on Apr 28, 2017
Latest reply on Apr 30, 2017 by amarsden


I've found lots of scripts that take a MXD and publish it, or take a sddraft file.  However these all seem to create a new service with the default settings.  I really need a script that replicates the "Share As>>Map Service>>Overwrite and existing service" menu options in Desktop.


It would be nice if at the end of this Wizard there was an option to save what you have as a sddraft, as at that point it has picked up all the settings from the existing service.


Have I missed something here?