laptop and a wrench

Bogue

If a field using subtypes is set as the label field in a FeatureLayer, then the coded value is displayed instead of the field description.

Dernière publication: September 24, 2020 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000133404
EnvoiAugust 27, 2020
Dernière modificationAugust 18, 2026
S’applique àArcGIS API for JavaScript
Version trouvée4.16
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction4.29
StatutFixed

Informations supplémentaires

In order to view the subtype name on the labels, the Arcade SubtypeName function is required to be added to the label class. Below is a sample from the developer site showing how to set this up programmatically. This can also be configured through the MapViewer labeling panel. Arcade function: https://developers.arcgis.com/arcade/function-reference/feature_functions/#subtypename Developer sample: https://developers.arcgis.com/javascript/latest/sample-code/layers-subtypegrouplayer/?view=playground-only

Étapes pour reproduire

ID de bogue: BUG-000133404

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement