laptop and a wrench

Bug

Creating a dynamic layer fails when the SQL statement selects a shape column

Portal for ArcGIS
Bug-ID-Nummer BUG-000167768
EingereichtMay 23, 2024
Zuletzt geändertFebruary 13, 2026
Gilt fürPortal for ArcGIS
Gefunden in Version10.9.1
BetriebssystemWindows Server
BetriebssystemversionN/A
StatusAs Designed

Zusätzliche Informationen

Provide dataSource.spatialReference when a field list is included in the SELECT statement.

Workaround

1. Add the spatialReference property to the dynamic layer definition if the shape field is explicitly mentioned in the SQL query in this link: https://localhost.esri.com/arcgis/help/en/rest/services-reference/enterprise/data-source-object/#query-table-data-source.

2. Create a database view containing only the necessary columns, then select all columns from that view using the following SQL statement: SELECT * FROM VIEW_NAME

Schritte zur Reproduzierung

Bug-ID: BUG-000167768

Software:

  • Portal for ArcGIS

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