English

How To: Change the name of a feature service

Summary

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 in the feature service.

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

Procedure

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 on My Content, and navigate to the intended feature service.
  3. Click the drop-down arrow next to the feature service name, and select 'View item details'.
    [O-Image]
  4. In the item details page of the feature service, click the hyperlink under Layers. This opens the ArcGIS REST Services Directory page.
    [O-Image]
    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).

  5. 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.

    Code:
    http://services.arcgis.com/xxxx/arcgis/admin


    Press Enter to access the new page.
  6. Click Services to view all feature services in the organization.
  7. Click the service name.
  8. Click the desired layer under Layers list.
    [O-Image]
  9. Scroll to the bottom of the page, and click Update Definition.
  10. Search for the parameter called "name" (press "Ctrl" and "F" to search for the "name"). Change the name of the feature layer as desired.
  11. Search for the parameter called "lastEditDate" and change this value to "NULL".
    [O-Image]
  12. Click Update Service Definition.
  13. Return to the Item Details page for the feature service. The layer name is up-to-date.

Related Information