AnsweredAssumed Answered

Uploading a service definition and overwriting the existing one

Question asked by at8808_1 on Jun 24, 2014
I am trying to use python to upload service definitions when they are changed and overwrite the existing ones already on ArcGIS online. I am able to sign in through python, but then when I upload the service definition I get an error that Service Name 'Name of my layer' already exists for 'j1vNyYVuxczZ499i' Failed to execute (UploadServiceDefinition)

It didn't look like there was a parameter in the tool description that turned on or off overwriting, unless I misread. How would I go about overwriting the existing service definition with the new one?

Outcomes