HOW TO

Ändern des Namens eines Feature-Service

Last Published: June 27, 2024

Zusammenfassung

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.

Vorgehensweise

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.

Artikel-ID:000012562

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln