laptop and a wrench

不具合

Arcades expression in a pop-up fails to return result when the Filter() function is using the 'For' loop condition on the feature service in Portal for ArcGIS 10.7.1.

最後に公開された状態: March 6, 2020 Portal for ArcGIS
不具合 ID 番号 BUG-000127655
送信されましたDecember 31, 2019
最終更新日July 17, 2025
適用対象Portal for ArcGIS
見つかったバージョン10.7.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン2012 R2
修正されたバージョン10.8
ステータスFixed

参考情報

The SQL query syntax is invalid in the following line of the expression. var sql = 'STATE_FIPS = 15' The field 'STATE_FIPS' is a string field and the value being passed is not contained in quotations. The line above must be updated to provide quotations around the query value. The correct syntax for the entire expression is below: var tbl = FeatureSetByName($map,"Test.DBO.cities1") var ftr = $feature.STATE_FIPS; var sql = 'STATE_FIPS =' + TextFormatting.SingleQuote+ '15'+TextFormatting.SingleQuote; var txt = Filter(tbl,sql) Console(Count(txt)) Console(TypeOf(txt)) var outtxt = "" if (Count(txt)>0){ for (var test in txt){ Console("THIS IS NEVER REACHED") outtxt += $feature.STATE_NAME + " " + test["POP1990"] + " " + test["CITY_NAME"] + TextFormatting.NewLine}} return outtxt

再現の手順

不具合 ID: BUG-000127655

ソフトウェア:

  • Portal for ArcGIS

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

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

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

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

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

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

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