Some customers reported recently that they have problems using lasso copy or clipboard copy when running our Rocket MX Web client in an iframe within another application.
When this happens, the web console displays:
Uncaught (in promise) DOMException: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.
Modern browsers will block clipboard actions cross site (so for instance when including a webpage from another host in an iframe) unless specifically allowing this.
The solution to this is to allow clipboard actions in the iframe element, for instance by using:
<iframe allow="clipboard-read; clipboard-write"" src="https://<your-site>/webclient/"></iframe>
------------------------------
Roger van Valen
Senior manager, software engineering
Rocket Software
Dordrecht, The Netherlands
------------------------------