rayjaw

replaceDataSource with Map Service

Discussion created by rayjaw on Jul 31, 2013
Latest reply on Aug 12, 2013 by rzufelt
I have been trying to find out if it is possible to use replaceDataSource on a Map Service within a series of MXDs.  The help topic doesn't make it seem like it is possible, as the workspace_type doesn't list anything to do with an ArcGIS Server connection.  My problem is that a server was retired and a new server was stood up with the same layers.  All of the old map documents pointing to the map services within the old server are now broken, so I need a way to repair those connections to point at the new server.  Does anyone know if this is possible, and how it is done?
Thanks,
Justin

Outcomes