CopyToClipboard

Stable Version 2.0.1 (O11)
Also available for 10
Published on 6 Jun by 
Created on 11 December 2017
Documentation

How to use this component?

The CopyToClipboard component is a mobile component that uses the clipboard plugin from the Cordova plugins, to copy and paste values. This component uses the clipboard of your device so have in mind that if you copy something with the device copy functionality it will be on the clipboard and you can either paste or clear the clipboard with the actions of this component, as well as if you copy something with the component action you can paste it with the native paste functionality of the device.

This component has three actions:

CopyToClipboard - This action receives a string and copies it to the clipboard. It returns a Success boolean that can be true or false according to the action success or fail, in the last case it will also return the associated error message.


PastFromClipboard - This action will return you the value saved on the clipboard as a string. And the Success boolean with true or false according to the action success of fail.



ClearClipboard - This action will clear any value that you have on the clipboard and return the Success boolean.





Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Bruno Machado who created this component.
Dependencies
CopyToClipboard has no dependencies.