laptop and a wrench

Bug

In ArcGIS Online, if a field using subtypes is set as the label field in a web map, the coded value is displayed instead of the description value.

Last Published: February 17, 2016 ArcGIS Online
Bug ID Number BUG-000091592
SubmittedOctober 21, 2015
Last ModifiedFebruary 13, 2025
Applies toArcGIS Online
Version found3.9
Operating SystemWindows OS
Operating System VersionN/A
StatusWill Not Be Addressed

Additional Information

The feature service defines the 'subtype' field, which has an esriFieldTypeSmallInteger type. The JavaScript application shows the number on the screen, which is correct. The JavaScript application uses this numeric value as the index in the domain. However, the server returns no domain definition. So the JavaScript application behavior is correct. { "name": "subtype", "type": "esriFieldTypeSmallInteger", ................ "domain": null, <-------------- no domain defined "defaultValue": null }

Workaround

  1. Gather all values used in the domains set for the field used in subtypes in one new domain.
  2. Set this new domain for the field in the Fields view.

Steps to Reproduce

Bug ID: BUG-000091592

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