laptop and a wrench

Error

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.

Última publicación: February 19, 2021 ArcGIS Online
Número de ID del error BUG-000135765
EnviadoNovember 30, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS Online
Versión encontrada8.3
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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

Solución alternativa

  • 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

Pasos para reproducir

ID del error: BUG-000135765

Software:

  • ArcGIS Online

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga