laptop and a wrench

漏洞

LabelDefinition configured with an Arcade expression causes the labels to disappear if there is a missing attribute in the expression in ArcGIS Runtime SDK for .NET.

上次发布: October 1, 2022 ArcGIS Runtime SDK
漏洞 ID 编号 BUG-000151838
已提交August 24, 2022
上次修改时间June 5, 2024
适用范围ArcGIS Runtime SDK
找到的版本100.14
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

This is the expected and correct behavior and matches the ArcGIS Pro and ArcGIS Online experience.

解决办法

To support fields that may or may not exist, account for the field in the script logic before referring to the field.

For example:

if (haskey($feature, "Population"))

return $feature.id

重现步骤

漏洞 ID: BUG-000151838

软件:

  • ArcGIS Runtime SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项