laptop and a wrench

Bug

Unable to apply the changes on the hosted feature service on Map Viewer when adding coded value domains to a hosted feature service from a REST endpoint.

Last Published: February 19, 2021 ArcGIS Online
Bug ID Number BUG-000135765
SubmittedNovember 30, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found8.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Incorrect usage of the updateDefinition operation. Review how the user interface (UI) sends the request in the browser debugger.

Workaround

  • Add the coded value domain by creating a list of values from the Data tab of the hosted feature service's item details page:
    • On the hosted feature layer's item page, click the Data tab to open the attribute table.
    • Click Fields.
    • If the hosted feature layer contains more than one sublayer, use the Layer drop-down menu to select the sublayer containing the desired field.
    • Click the field's display name to open the settings for the field.
    • Click Create List.
      • A list of possible values before there is data in the layer can be created. However, if the field contains values when creating the list, click Generate List to populate the list with the unique values from the field. The number of times that value appears in the field is shown in the initial list.
    • Type values for each possible code and label for a field.
      • Label - Displayed Value
      • Code: Stored Value
    • Click Save

Related documentation:

  1. FAQ: Is it possible to add or edit domains after a feature service is published in ArcGIS Online?: https://support.esri.com/en/technical-article/000012279
  2. Create a list of values: https://doc.arcgis.com/en/arcgis-online/manage-data/define-attribute-lists-and-ranges.htm#GUID-6E9A9121-2F49-4C31-A167-8DD08BDD41AC

Steps to Reproduce

Bug ID: BUG-000135765

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options