laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000164004
EingereichtDecember 27, 2023
Zuletzt geändertNovember 30, 2025
Gilt fürArcGIS GIS Server
Gefunden in Version11.2
BetriebssystemN/A
BetriebssystemversionN/A
StatusNon-Reproducible

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000164004

Software:

  • ArcGIS GIS Server

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln