laptop and a wrench

Bogue

The subquery results in SQLite Error returns a "no such table" error message when executing ServiceFeatureTable.queryFeaturesAsync() but works in Service REST.

Dernière publication: March 22, 2021 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000137419
EnvoiFebruary 11, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.10
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

SQL Subqueries are not currently supported in ArcGIS Runtime.

Solution de contournement

Publishing a database view

  1. Create a database view using SQL (`create view...`).
  2. Register the view with the geodatabase using the Register with geodatabase tool.
  3. Publish the view as a map service (`MapServer`). Note you can also publish a feature service (`FeatureServer`) as long as the edit capability is not enabled.
  4. Using the ArcGIS Runtime API Create a ServiceFeatureTable/FeatureLayer from the service layer referencing the view e.g. `https://server.esri.com/server/rest/services/RI_0_2543367View/MapServer/0`.
  5. Set the `FeatureLayer.DefinitionExpression` to: table.DefinitionExpression = $"GRAPHICALID IN (101, 102)".

Étapes pour reproduire

ID de bogue: BUG-000137419

Logiciel:

  • ArcGIS Runtime SDK

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