laptop and a wrench

Erro

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.

Última Publicação: September 24, 2020 ArcGIS API for JavaScript
Número de ID do Erro BUG-000133404
EnviadoAugust 27, 2020
Última ModificaçãoAugust 18, 2026
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.16
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa4.29
StatusFixed

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000133404

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download