laptop and a wrench

不具合

Arcade expression converts to octothorpe (#) in the pop-up configuration if it is added to a hyperlink.

最後に公開された状態: August 5, 2021 Portal for ArcGIS
不具合 ID 番号 BUG-000141008
送信されましたJune 25, 2021
最終更新日February 14, 2025
適用対象Portal for ArcGIS
見つかったバージョン10.8.1
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
ステータスAs Designed

参考情報

This is as-designed. Both ArcGIS Enterprise and ArcGIS Online have HTML sanitization logic in place to clean untrusted elements and strings of HTML. This is to prevent cross-site scripting and protect the system and user. In this case, the HTML href element does not contain a trusted protocol and the resulting link is intentionally sanitized (resulting in a link that does not work). The HTML sanitization logic trusts the "arcgis-survey123" protocol, but in this example, it is not defined explicitly via the HTML string, it is constructed via the underlying arcade expression. Refer to the workaround to revise the arcade expression and href HTML string.

対処法

The workflow works with the following updates: 1. Update the return statement within the arcade expression to... return UrlEncode(params)+coordinates+callback; 2. Update the pop-up HTML string href to... href="arcgis-survey123://{expression/expr0}&field:esa={esa}"

再現の手順

不具合 ID: BUG-000141008

ソフトウェア:

  • Portal for ArcGIS

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

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

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

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

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

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

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