Copy to client clipboard

I want to be able to copy text to the users clipboard similar to the Copy button on the exception dialog.

I found this: Copy to clipboard by clicking button - CUBA.Platform

Is this still the recommended method?


Starting from v7.1, Platform has built-in functionality called ClipboardTrigger. Prior v7.1, an approach described in the mentioned topic is correct.


Thank you sir. I just want to verify.