AnsweredAssumed Answered

Overwriting existing service with UploadServiceDefinition_server

Question asked by Szymon.Piskula_WoodMacOnline on Apr 30, 2018
Latest reply on Apr 30, 2018 by jskinner-esristaff



Is there a way to overwrite an existing service using arcpy.UploadServiceDefinition_server method having just the SD file, regardless how the SD file has been generated?

I can see a sample

Upload Service Definition—Help | ArcGIS for Desktop 

which requires operating on the SDDRAFT, but what if I dont have access to it and all i have is the SD file which i know i want to use to overwrite (or create a new if not existing) service? It seems that currently it is the SD file setting that dominates the process and i dont have control over this.