AnsweredAssumed Answered

Get MXD path property for a service published on ArcGIS Server with python?

Question asked by psba_ldudina on Jul 21, 2020
Latest reply on Jul 28, 2020 by bixb0012

Is there a way to programically (probably python?) to get the path property of a service published to an ArcGIS Server?

 

 

 

I found this piece of python:

 

for dir in [None] + SD.folders:
for srv in SD.list(folder=dir):
print(str(srv.properties))

It gets properties of the services (seems to be the same as you can get by going to the rest end point), but none of these properties is the original mxd path.. 

Outcomes