laptop and a wrench

Error

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.

Última publicación: October 1, 2022 ArcGIS Runtime SDK
Número de ID del error BUG-000151838
EnviadoAugust 24, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada100.14
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000151838

Software:

  • ArcGIS Runtime SDK

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