laptop and a wrench

不具合

In ArcGIS Dashboards advanced formatting, an Arcade statement that declares and defines a variable in an if statement, then references that variable in the return dictionary, now returns an error when the if statement is not executed.

ArcGIS Online
不具合 ID 番号 BUG-000180577
送信されましたOctober 30, 2025
最終更新日November 6, 2025
適用対象ArcGIS Online
見つかったバージョンOctober 2025
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
ステータスWill Not Be Addressed

参考情報

This is expected and wont be addressed this change was made to address an Arcade cross platform inconsistency around variable hoisting. This script worked in JavaScript unintentionally, but will not work in ArcGIS Pro and ArcGIS Runtime. This has been harmonized and will now become an error in this scenario (where the variable is only initialized under certain conditions and therefor undefined in the script under certain conditions). In this specific expression the variable `statement` needs to be initialized outside of the `if` statement or you need the `else` statement and initialize it there to make sure it gets universally initialized base on the flow conditions. Refer to this link: https://developers.arcgis.com/arcade/guide/release-notes/ for more information.

再現の手順

不具合 ID: BUG-000180577

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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