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-Nummer BUG-000171201
EingereichtOctober 3, 2024
Zuletzt geändertAugust 6, 2025
Gilt fürArcGIS Instant Apps
Gefunden in VersionN/A
BetriebssystemN/A
BetriebssystemversionN/A
StatusKnown Limit

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000171201

Software:

  • ArcGIS Instant Apps

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln