AnsweredAssumed Answered

Update map service title using Python

Question asked by posthumusb on May 15, 2013
Latest reply on Jun 14, 2013 by tereshenkov
I need to update the title of a map service programmatically. The title is normally set in the MXD's map document properties (see http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000444000000) but I need to do it after it's been published to AGS.

I can get the JSON response for the service using the code here:

http://resources.arcgis.com/en/help/main/10.1/index.html#/Example_Edit_service_properties/0154000005r4000000/

...but there doesn't appear to be any service properties that include the title. Is this possible with arcpy?

(When looking at the rest endpoint of the service, the section I need to update is this one:

Document Info:


    Title:
    Author:
    Comments:
    Subject:
    Category:
    Keywords:
    AntialiasingMode: None
    TextAntialiasingMode: Force
)

Outcomes