laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: October 1, 2022 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000151838
EingereichtAugust 24, 2022
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in Version100.14
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Workaround

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

Schritte zur Reproduzierung

Bug-ID: BUG-000151838

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln