laptop and a wrench

不具合

The 'target ='_blank'' HTML tag is ignored in geoprocessing services when embedding in web applications created in ArcGIS Online.

最後に公開された状態: December 15, 2021 ArcGIS Online
不具合 ID 番号 BUG-000140757
送信されましたJune 16, 2021
最終更新日June 5, 2024
適用対象ArcGIS Online
見つかったバージョン9.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

This issue is by-design for security issues.

対処法

  • The output of the geoprocessing tool is of type GPString and the tool generates an HTML element <a> directly.
  • To keep out the malicious code, string content is sanitized before displaying on the page and the target=‘_blank’ is removed.
  • Open a new tab to show the output PDF file, change the output type of the geoprocessing tool from GPString to GPDataFile.
  • Thus, ArcGIS Web AppBuilder will generate an HTML element <a target=“_blank”>.
  • If the output type is GPDataFile, the users do not need to generate the URL parameter.
  • Set the output file path as the value of GPDataFile. The geoprocessing service will create a URL for it. The print service is a good example, refer to the following link, http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task for more information.

再現の手順

不具合 ID: BUG-000140757

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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