laptop and a wrench

Error

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
Número de ID del error BUG-000171201
EnviadoOctober 3, 2024
Última modificaciónAugust 6, 2025
Relacionado conArcGIS Instant Apps
Versión encontradaN/A
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoKnown Limit

Información adicional

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.

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000171201

Software:

  • ArcGIS Instant Apps

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga