Résumé
In some instances, table fields are locked and cannot be edited in ArcGIS Online Map Viewer, as shown in the image below. The 'City_in_Ca' table field is locked.
This article provides instructions to grant permission to edit through the Settings tab and the Configure Pop-up window of the hosted feature layer in Map Viewer. Editing capabilities include altering or updating data and fixing spelling errors.
Note:
Only owners or administrators can make changes to editing permissions. For more information on user types and roles in ArcGIS Online, refer to ArcGIS Online: User types, roles, and privileges.
Procédure
- In ArcGIS Online, navigate to the My Content tab. Click the ellipsis icon of the hosted feature layer, and click Open in Map Viewer.
- Open the attribute table of the hosted feature layer. In this example, the field City_in_Ca is locked; Sacramento is spelled incorrectly and cannot be edited.
- Navigate to the My Content tab, and click the hosted feature layer to open the item details page.
- Click the Settings tab.
- Scroll to the Feature Layer (hosted) section. Under Editing, check the Enable editing check box. For What kind of editing is allowed?, select the Add, update, and delete features option. Click Save.
Note:
To limit permissions to only adding new data but not editing existing data through the web map, select the Add features option for What kind of editing is allowed?
- Open the hosted feature layer in Map Viewer. Click the ellipsis icon of the layer, and click Configure Pop-up.
- Click Configure Attributes.
- In the Configure Attributes window, check the Edit check box of the desired field. In this example, it is the {City_in_Ca} field. Click OK.
- Click OK in the Configure Pop-up pane.
- Open the attribute table and edit the data. The following image shows the lock symbol is removed from the City_in_Ca field. Correct the spelling error for Sacramento, and press Enter.
- Press Enter to save the changes to the layer, and click Save to save the map.