| Numéro d’ID de bogue |
BUG-000171201 |
| Envoi | October 3, 2024 |
| Dernière modification | August 6, 2025 |
| S’applique à | ArcGIS Instant Apps |
| Version trouvée | N/A |
| Système d’exploitation | N/A |
| Version du système d’exploitation | N/A |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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.
Solution de contournement
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
Étapes pour reproduire