PROBLEM

Attempts to edit a hosted feature layer field in ArcGIS Online fail

Last Published: August 19, 2020

Description

Attempts to edit a hosted feature layer field in the feature pop-up in ArcGIS Online Map Viewer fail, and the following message is returned:

Error:   
The value entered is not valid.

In this example, the warning message is returned when attempting to change Fresn to ‘Fresno.’

Image showing the error message that is returned when trying to edit a field.

Cause

This is a known limitation. The field value in the pop-up and the attribute table can only be selected from the values available in the drop-down list, and the feature template in ArcGIS Online disables input of new field values to prevent incorrect data capturing. In this example, the drop-down list for the user-created hosted feature layer does not contain the value 'Fresno,' but instead contains the misspelled city name 'Fresn.'

Image showing the pop-up does not contain the desired field value in the drop-down list.

Image showing the attribute table does not contain the desired value in the drop-down list.

Solution or Workaround

To edit the field or pop-up with the desired value, follow one of the workarounds below.

Change the layer symbology from Unique symbols to Single symbol

If a layer uses unique symbology, a drop-down list is automatically applied, and users can only select from the values available in the list. If there is a misspelled value, perform the following steps to rectify it.

  1. In the Content pane, click the Change Style icon Image showing the Change Style icon in ArcGIS Online..
Image showing the button to change a layer symbology in ArcGIS Online.
  1. In the Select a drawing style section, click SELECT under Location (Single symbol) icon.
Image showing the SELECT option to select single symbology  for the layer in ArcGIS Online.
  1. Click YES in the Warning dialog box.
Image showing the confirmation message to change the layer symbology in ArcGIS Online.
  1. Click DONE.
Image showing the DONE button to save changes to layer symbology in ArcGIS Online.
  1. The field value is changed in the pop-up and the attribute table by entering the desired value into the California_City field. In this example, Fresno is the input value.
Image showing the desired value can be inputted into the featured field of the pop-up.
Image showing the desired value can be inputted into the featured field of the attribute table.

Replace the incorrect feature with a new feature type

Note:
Ensure layer editing is enabled. Only administrators or owners can enable editing for members. Refer to ArcGIS Online: Manage hosted feature layers for more information.

The feature template can be modified by adding a new feature type with a new name to replace the original feature name. This option is only available if the layer uses unique symbology. Refer to ArcGIS Online: Style categories for more information on symbology.

The following steps describe how to manage the feature template, and delete the original feature name:

  1. Open the desired hosted feature layer in ArcGIS Online Map Viewer. Click Edit in the top panel.
Note:
The Edit button is only visible to administrators or owners.
Image showing the Edit button in ArcGIS Online Map Viewer.
  1. Click Manage.
Image showing the Manage button in ArcGIS Online Map Viewer for a feature template.
  1. Select the desired layer for editing from the drop-down list, and click ADD NEW TYPE OF FEATURE. In this example, it is Cities_in_California.
Image showing the button to add new types of features in ArcGIS Online Map Viewer.
  1. In the Type Properties dialog window, fill in the required information, and click DONE. In this example, type Fresno for the California_City attribute, and select a black circle (8px) as the symbology.
Image showing how to fill in the information to create a new feature type in ArcGIS Online Map Viewer.
  1. Click SAVE CHANGES.
Image showing how to save changes after creating a new feature type.
  1. Change the field value in the attribute attribute table or the pop-up by selecting the new feature name from the drop-down list. In this example, Fresno is selected.
Image showing the new feature name in the pop-up drop-down list.
Image showing the new feature name in the attribute table drop-down list.
  1. To delete the original misspelled feature, repeat Steps 1 and 2. Click the drop-down Image showing the drop-down button.button of the feature, and select Remove from the drop-down list. In this example, Fresn is removed.
Image showing how to delete the original misspelled feature  in the feature template.
  1. Click SAVE CHANGES.
Image showing how to save changes after deleting the original misspelled feature.

Article ID: 000023593

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options