Hi,
I’m building an app that requires the user to copy the externalEventUrl to clipboard from the iparams page.
Code
navigator.clipboard.writeText(this.externalEventUrl);
Error
Reason
On debugging, I found that the iframe that loads the iparams does not explicitly allow clipboard-read
and clipboard-write
.
Closing Notes
I understand that it is a security feature. But, I don’t find the harm in allowing developers access to this. It only adds to your customer’s delight by not having to manually copy a text from a textbox.
Similar Request
Found a similar request raised in this community earlier.
Regards,
Arun Rajkumar