laptop and a wrench

Bogue

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

Portal for ArcGIS
Numéro d’ID de bogue BUG-000167768
EnvoiMay 23, 2024
Dernière modificationFebruary 13, 2026
S’applique àPortal for ArcGIS
Version trouvée10.9.1
Système d’exploitationWindows Server
Version du système d’exploitationN/A
StatutAs Designed

Informations supplémentaires

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

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000167768

Logiciel:

  • Portal for ArcGIS

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