Legacy Dev Forum Posts

 View Only

Sign Up

Web Component and Clipboard Access

  • 1.  Web Component and Clipboard Access

    Posted 06-05-2025 19:12

    asharma | 2022-06-08 00:40:18 UTC | #1

    Hi, my understanding is that the Script Web Component translates to an "iframe" HTML element (with "allow" set to "clipboard-read; clipboard-write"). I have an external web page which has a copy to clipboard function which does work when using the web browser client, however, it throws a permission issue when used inside of the desktop client. I assume that this is because the clipboard-write permission is not applied when the script is running inside of the desktop client.

    Can i get some feedback if this is by design or a bug?


    tim.smith | 2022-06-13 19:40:47 UTC | #2

    The iframe in a script does not allow all security features. You can request new features and share your use case at https://genesyscloud.ideas.aha.io/.


    asharma | 2022-06-19 20:44:02 UTC | #3

    Yes, it does not support all security features however, clipboard-read/write is supported. Reason i say this is that the web browser version of Genesys Cloud has it working while the desktop version does not. So either the desktop version has a bug or the desktop version does not have feature parity with the web version.


    John_Carnell | 2022-06-27 19:32:20 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 15045