laptop and a wrench

漏洞

Copying a link from the social media button in the Share window in ArcGIS Instant Apps does not work when the map is embedded.

ArcGIS Instant Apps
漏洞 ID 编号 BUG-000171201
已提交October 3, 2024
上次修改时间August 6, 2025
适用范围ArcGIS Instant Apps
找到的版本N/A
操作系统N/A
操作系统版本N/A
状态Known Limit

附加信息

When an application is embedded via iframe, certain browser security policies can restrict access to the clipboard API, which is what's being used within the Instant Apps sharing tool. This issue can be due to cross-origin restrictions (origin of parent is different than origin of embedded Instant App), permissions not granted to the iframe via allow attribute(allow='clipboard-write'), or a combination of both. From the perspective of Instant Apps in a cross-origin scenario, this is a known limitation since a parent iframe is inaccessible from the embedded Instant App.

解决办法

Set permissions via iframe html attributes from the parent app. More info can be found here: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API#security_considerations

重现步骤

漏洞 ID: BUG-000171201

软件:

  • ArcGIS Instant Apps

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项