laptop and a wrench

Bug

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
Bug ID Number BUG-000171201
SubmittedOctober 3, 2024
Last ModifiedAugust 6, 2025
Applies toArcGIS Instant Apps
Version foundN/A
Operating SystemN/A
Operating System VersionN/A
StatusKnown Limit

Additional Information

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.

Workaround

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

Steps to Reproduce

Bug ID: BUG-000171201

Software:

  • ArcGIS Instant Apps

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options