laptop and a wrench

不具合

In ArcGIS Online Map Viewer, pop-ups configured using the Max function with alphanumeric values string field return results irrespective of the string type field.

ArcGIS Online
不具合 ID 番号 BUG-000160849
送信されましたAugust 23, 2023
最終更新日August 19, 2024
適用対象ArcGIS Online
見つかったバージョンN/A
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

This happens because the feature service returns this result when performing statistical queries. Arcade cannot control that result.

対処法

Use the Max() function with an array of the alphanumeric strings to return 'NaN' as expected. Example code:

var fs = FeatureSetById($datastore, "0", ["stringField"])

// create array to hold alphanumeric string fields

var myArray = []

// add each string field to the array

for (var x in fs)

{ Push(myArray, x.stringField) }

// return the max string value in the array

return Max(myArray)

// returns NaN

再現の手順

不具合 ID: BUG-000160849

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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