Working with services
As an administrator, you will need to manage services of all sorts. We've already covered methods of administering services using ArcGIS Server Manager and with the REST API. In this section, we'll look at ways to work with services and items through the ArcGIS API for Python.
Changing web map service URLs
The web is a dynamic environment, there's no denying that. Consequently, URLs to resources you reference in your applications are going to change. When they are your URLs, you usually know about it in advance and can have time to plan for the change. The big surprises come when a URL to an item that isn't yours changes. You usually find out about these through a phone call or email from a user telling you that your application is busted. So, what's an admin to do in a case like this? We've looked at ways to handle URL changes with ArcGIS Online Assistant. However, accomplishing this same task with the ArcGIS API for Python is easy to do as well.
Let's say that we have...