function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

sned data to cipboard

Hello Helpers There is any Apex API method which can send data(value of a text field for ex ) into clipboard? Best Regards csaba
Best Answer chosen by Admin (Salesforce Developers) 
David SupuranDavid Supuran

Unfortunately Apex is executed on the remote server and has no control over your clipboard.  There is no easy or direct way to do this.  The only example that comes to mind would be to pass the data from apex to your visualforce page, then to some flash application which would have access to the clipboard.  I would perhaps rethink your solution if you can make it more efficient.  Good luck!