Changing MapServer layer name

826
2
10-15-2021 09:43 AM
Boyang_Wang
Occasional Contributor II

Hello,

I would like to change the two layer names in below MapServer:

https://gis.passaiccountynj.org/arcgis/rest/services/Hosted/Passaic_County_Contour_Tile/MapServer

Now the layer names are:

Layers:

I tried to find these names in Service Definition ArcGIS Server Administrator Directory, but the names do not appear in any settings. Do you know how to change them? I am attaching the item description and service property JSONs.

Thanks.

Tags (2)
0 Kudos
2 Replies
DavidPike
MVP Frequent Contributor

I've not done this myself but this workflow looks promising:

How To: Rename a published service in ArcGIS Server (esri.com)

also via REST API POST
Rename Service—ArcGIS REST APIs | ArcGIS Developers

 

0 Kudos
Boyang_Wang
Occasional Contributor II

I believe these workflows are for renaming the MapServer itself, not its layers. Also I know how to rename the layers in FeatureServer layers by either editing the item description page or service property JSON, but cannot do either for MapServer layers.