laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000164004
EnvoiDecember 27, 2023
Dernière modificationNovember 30, 2025
S’applique àArcGIS GIS Server
Version trouvée11.2
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutNon-Reproducible

Informations supplémentaires

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 \")\"" }]

Étapes pour reproduire

ID de bogue: BUG-000164004

Logiciel:

  • ArcGIS GIS Server

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