You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it possible to copy a text to the clipboard in groovy?

Accepted answer
111
Views
3
Comments
in Sales 3 comments

Summary:

How to copy a text or an URL to the clipboard (like a ctrl-c command) in groovy?

Content (required):

My customer wants a simple way to copy the URL of the current record of a custom object to the clipboard.

In order to send this URL by e-mail, chat, ... to a colleague to quickly access this record without having to search for it.

Is it possible to do this with a groovy script?

Version (include the version you are using, if applicable):

CX Sales & Service : 23A

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!