laptop and a wrench

Erro

The labelingInfo object is not returned in the REST endpoint of the published service when the feature is labeled using the Python expression.

ArcGIS GIS Server
Número de ID do Erro BUG-000164004
EnviadoDecember 27, 2023
Última ModificaçãoNovember 30, 2025
Aplica-se àArcGIS GIS Server
Versão encontrada11.2
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusNon-Reproducible

Informações Adicionais

The issue is not reproducible. For cross-platform support, it is recommended to use an Arcade expression. When using an Arcade expression, the layer’s REST resources are displayed as follows: "labelingInfo": [ {"labelExpressionInfo": { "expression": "$feature.STATE_NAME + \" (\" + $feature.STATE_FIPS + \")\"", "title": "my expression" }}] When a Python expression is used, it is translated into a simpler form, as shown below. This is because Python expressions are not supported by web client apps. "labelingInfo": [ { "labelExpression": "CONCAT [STATE_NAME] CONCAT \"(\" CONCAT [STATE_FIPS] CONCAT \")\"" }]

Etapas para Reproduzir

ID do Erro: BUG-000164004

Software:

  • ArcGIS GIS Server

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