2

I have an SDE feature class:

AS in Image

And I'm looking to find, to how many map services it is pointing.

There are like duplicate map services pointing to same table, so I was trying to figure out how many duplicate services we have.

Is there any script/method to start with?

4
  • Feature classes don't ever point at map layers. Map layers point at feature classes. You'd need to compile the sources of every map service layer, and look for duplicates (a dictionary could help). If you had the MXDs from which the services were published, you'd probably have an easier time. – Vince Oct 29 '19 at 15:00
  • 1
    @Vince thanks for reply, I have more then 200 services in total and many servers. is there any way to verify by scripting.. i think by manually verifying every mxd source will consume time and for me its hard to get all MXD's – Mr_gemini Oct 29 '19 at 15:35
  • I'd certainly script the MXD content access, which wouldn't require admin access to the ArcGIS Servers; the compilation process would be the same; use data source path as a dictionary key to a list of services, adding new lists and appending to existing. Then you parse the dictionary keys and report all sources with multiple services. – Vince Oct 29 '19 at 16:42
0

i did it by following steps from here

https://developers.arcgis.com/rest/enterprise-administration/server/servicemanifest.htm

and verify datasets of every Mapserver

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.