Label | Explanation | Data Type |
Input Service | Image Service; Map Server | |
Scales | The scale values that will be included in the updated tiling scheme. | Value Table |
Derived Output
Label | Explanation | Data Type |
Output Map Service URL | The output URL. | String |
Updates the scale levels in an existing map image layer in ArcGIS Enterprise or in a cached map or image service on a stand-alone server. Use this tool to add new scales or delete existing scales from a cache.
In ArcGIS Enterprise, the Input Service parameter is a string containing the REST endpoint of the service. Ensure that your ArcGIS Enterprise portal is the active portal.
In a stand-alone ArcGIS Server, the Input Service parameter is a string containing both the server and the service information. To construct the string, add the full path to the ArcGIS Server connection file (.ags) with Publisher or Administrator credentials to the service name on the stand-alone server, for example: "C:\path_to_the connection_file_of_standAloneServer\arcgis on MyServer.com_6443.ags\ServiceName.MapServer". For more information, see Connect to a GIS server.
If you remove scales from an existing cache, all existing cached tiles within that level of detail will be permanently deleted.
You must specify existing scale values if you want to keep them. Any existing scale levels that are not specified will be permanently deleted. For example, if you have four existing scales and you want to add two scales, make sure that your list has a total of six scales.
Label | Explanation | Data Type |
Input Service | Image Service; Map Server | |
Scales | The scale values that will be included in the updated tiling scheme. | Value Table |
Label | Explanation | Data Type |
Output Map Service URL | The output URL. | String |
arcpy.management.ManageMapServerCacheScales(input_service, scales)
Name | Explanation | Data Type |
input_service | Image Service; Map Server | |
scales [scales,...] | The scale values that will be included in the updated tiling scheme. | Value Table |
Name | Explanation | Data Type |
out_job_url | The output URL. | String |