timmerspk

UploadServiceDefinition_server function changed overnight?

Discussion created by timmerspk on Jul 24, 2013
Latest reply on Aug 2, 2013 by mminami-esristaff
We've had a number of nightly updates on AGOL and was there a change the other day?

Previously if you were overwriting an existing service you didn't need to republish the sharing.

http://resources.arcgis.com/en/help/main/10.1/index.html#//00540000001p000000

The bit about OVERRIDE_DEFINITION  and defaulting to USE_DEFINITION.

arcpy.UploadServiceDefinition_server(sd, "My Hosted Services", service) should just USE_DEFINITION right?
Now I've just changed it to
arcpy.UploadServiceDefinition_server(sd, "My Hosted Services", service,"", "", "", "", "OVERRIDE_DEFINITION","SHARE_ONLINE","PUBLIC","SHARE_ORGANIZATION", "")
and it's all working. 

Just everything stopped working for a number of hours while people couldn't get the map services.

Outcomes