Create List of ArcGIS Map Service Connections

2263
2
Jump to solution
06-26-2016 04:20 PM
BenVan_Kesteren1
Regular Contributor

Hi,

I am wondering if anyone knows of a piece of python code that will return a list of all Map Service Connections???

I have several connections, I would like the script to find the connection name, and then use this info to perform further tasks.

Anyone done this?

Cheers

0 Kudos
1 Solution

Accepted Solutions
ModyBuchbinder
Esri Regular Contributor

Hi

Check this link: Example: Write properties of all services to a CSV file—Documentation (10.4) | ArcGIS for Server 

There are a few other similar ones. The idea is to use python to create REST calls to get information from the server

View solution in original post

2 Replies
ModyBuchbinder
Esri Regular Contributor

Hi

Check this link: Example: Write properties of all services to a CSV file—Documentation (10.4) | ArcGIS for Server 

There are a few other similar ones. The idea is to use python to create REST calls to get information from the server

BenVan_Kesteren1
Regular Contributor

Works perfectly, I can use this code to create a simple list, exactly what I require!

Thanks

0 Kudos