| 不具合 ID 番号 |
BUG-000137419 |
| 送信されました | February 11, 2021 |
| 最終更新日 | June 5, 2024 |
| 適用対象 | ArcGIS Runtime SDK |
| 見つかったバージョン | 100.10 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 64 Bit |
| ステータス | Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
|
参考情報
SQL Subqueries are not currently supported in ArcGIS Runtime.
対処法
Publishing a database view
- Create a database view using SQL (`create view...`).
- Register the view with the geodatabase using the Register with geodatabase tool.
- 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.
- 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`.
- Set the `FeatureLayer.DefinitionExpression` to: table.DefinitionExpression = $"GRAPHICALID IN (101, 102)".
再現の手順