操作方法

操作方法:更改要素服务的名称

Last Published: June 27, 2024

摘要

ArcGIS does not provide any tool to change the name of a feature service. However, the name of the feature service layer can be changed by updating the schema of the layer.

The instructions provided describe how to change the name of a feature service layer.

过程

Note:
Ensure the feature service is not shared publicly before proceeding with the instructions below.
  1. Log in to www.arcgis.com using an ArcGIS Online organizational account.
  2. Click Content, and navigate to the intended feature service.
  3. Click the title of the feature service to view item details.
  4. In the item details page of the feature service, click the hyperlink under Layers. This opens the ArcGIS REST Services Directory page.
Item details page showing Layers and the hyperlink
Note:
If the error, "There are no services available", is returned when visiting the ArcGIS REST Administrator Directory, the hosted feature service is shared with everyone (public).
  1. Modify the URL to mirror the URL displayed below by appending "admin" to the end of the URL after deleting the rest of the URL from the service. Press Enter to access the new page.
Code:
http://services.arcgis.com/xxxx/arcgis/admin
Note:
The 'xxxx' represents the ID of the organization hosting the service.
  1. Click Services to view all feature services in the organization.
  2. Click the service name.
  3. Click the desired layer under the Layers list.
Services page
  1. Scroll to the bottom of the page, and click Update Definition.
  2. Search for the parameter called "name" (press "Ctrl" and "F" to search for the "name"). Change the name of the feature layer as desired.
  3. Search for the parameter called "lastEditDate" and change this value to "NULL".
Update Definition dialog box
  1. Click Update Layer Definition.
  2. Return to the item details page for the feature service. The layer name is updated.

文章 ID: 000012562

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项