PROCÉDURE

modifier le nom d’un service d’entités

Last Published: June 27, 2024

Résumé

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.

Procédure

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 d’article: 000012562

Recevoir des notifications et trouver des solutions liées à de nouvelles questions ou à des problèmes connus

Recevez des réponses synthétisées et des solutions en vidéo de notre nouvel agent conversationnel (IA).

Télécharger l’application Esri Support

Informations associées

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement