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.
上次发布: February 17, 2016ArcGIS Online
漏洞 ID 编号
BUG-000091592
已提交
October 21, 2015
上次修改时间
February 13, 2025
适用范围
ArcGIS Online
找到的版本
3.9
操作系统
Windows OS
操作系统版本
N/A
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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
}
解决办法
Gather all values used in the domains set for the field used in subtypes in one new domain.
Set this new domain for the field in the Fields view.