laptop and a wrench

不具合

Using Arcade expression in the Expression Builder in ArcGIS Pro's Attribute Rules to update a feature that contains an apostrophe throws an error: "Invalid where clause (Field Name = 'data's')".

ArcGIS Pro
不具合 ID 番号 BUG-000176096
送信されましたApril 28, 2025
最終更新日June 19, 2025
適用対象ArcGIS Pro
見つかったバージョン3.3
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
ステータスAs Designed

参考情報

Crafting the SQL string manually is error prune, Use template literals when applying where clauses, Refer to this blog: https://community.esri.com/t5/attribute-rules-blog/attribute-rule-authoring-and-configuration-tips/ba-p/1023745 for more information. For example: var fsTable = FeatureSetByName($datastore, "table") var objectIds = [1,2,3,4,5] var whereClause = "objectId in @objectIds"; fsFilter = Filter(fsTable, whereClause);

対処法

Crafting the SQL string manually is error prune, Use template literals when applying where clauses, Refer to this blog: https://community.esri.com/t5/attribute-rules-blog/attribute-rule-authoring-and-configuration-tips/ba-p/1023745 for more information.

For example:

var fsTable = FeatureSetByName($datastore, "table") 

var objectIds = [1,2,3,4,5]

var whereClause = "objectId in @objectIds";

fsFilter = Filter(fsTable, whereClause);

再現の手順

不具合 ID: BUG-000176096

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動