laptop and a wrench

Bug

Unable to create a dynamic layer with an SQL statement that selects a shape column.

Portal for ArcGIS
Bug-ID-Nummer BUG-000167768
EingereichtMay 23, 2024
Zuletzt geändertDecember 16, 2025
Gilt fürPortal for ArcGIS
Gefunden in Version10.9.1
BetriebssystemWindows Server
BetriebssystemversionN/A
StatusIn Product Plan

Workaround

Include 'spatialReference' property in the dynamic layer definition when shape field is explicitly mentioned in the SQL query https://localhost.esri.com/arcgis/help/en/rest/services-reference/enterprise/data-source-object/#query-table-data-source

Create a database view with only the columns needed, then select all columns from the created view using 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