laptop and a wrench

Bogue

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.

Dernière publication: February 19, 2021 ArcGIS Online
Numéro d’ID de bogue BUG-000135765
EnvoiNovember 30, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS Online
Version trouvée8.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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

Solution de contournement

  • 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

Étapes pour reproduire

ID de bogue: BUG-000135765

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement