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.

Zuletzt veröffentlicht: February 19, 2021 ArcGIS Online
Bug-ID-Nummer BUG-000135765
EingereichtNovember 30, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Online
Gefunden in Version8.3
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000135765

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln