_anomDiebolt_
7 years agoQrew Elite
I Got My Clipboard
Google recently implement the new Async Clipboard API in Chrome 66 so I had to give it a try with QuickBase.
This application demonstrates you can copy any text to the clipboard with the click of a button:
I Got My Clipboard ~ View Record
https://haversineconsulting.quickbase.com/db/bnpjas7yc?a=dr&rid=1
Clicking the "Copy to Clipboard" button on the record will place the following formatted text onto the clipboard:
Salvador Duke
Ap #811-1129 Lorem, Street
Rangiora, SI 6438
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=654
Notes:
(1) Copying QuickBase data from the clipboard may well save manual processing steps if you have a downstream program which can receive the pasted data.
(2) The same Async Clipboard API used in the demo to copy text from a fields in a single record to the clipboard could also copy text from multiple records to the clipboard. Even non-record information such as users, permissions or audit information could be copied to the clipboard.
(3) The same Async Clipboard API used in the demo can be used to paste data into QuickBase along with any formatting and parsing that would be needed.
(4) Additional information on using the Async Clipboard API can be found here:
Unlocking Clipboard Access
https://developers.google.com/web/updates/2018/03/clipboardapi
(5) There are other methods to manipulate the clipboard with JavaScript however the Async Clipboard API is on a standards track:
Clipboard API and Events
https://www.w3.org/TR/clipboard-apis/#async-clipboard-api
This application demonstrates you can copy any text to the clipboard with the click of a button:
I Got My Clipboard ~ View Record
https://haversineconsulting.quickbase.com/db/bnpjas7yc?a=dr&rid=1
Clicking the "Copy to Clipboard" button on the record will place the following formatted text onto the clipboard:
Salvador Duke
Ap #811-1129 Lorem, Street
Rangiora, SI 6438
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=654
Notes:
(1) Copying QuickBase data from the clipboard may well save manual processing steps if you have a downstream program which can receive the pasted data.
(2) The same Async Clipboard API used in the demo to copy text from a fields in a single record to the clipboard could also copy text from multiple records to the clipboard. Even non-record information such as users, permissions or audit information could be copied to the clipboard.
(3) The same Async Clipboard API used in the demo can be used to paste data into QuickBase along with any formatting and parsing that would be needed.
(4) Additional information on using the Async Clipboard API can be found here:
Unlocking Clipboard Access
https://developers.google.com/web/updates/2018/03/clipboardapi
(5) There are other methods to manipulate the clipboard with JavaScript however the Async Clipboard API is on a standards track:
Clipboard API and Events
https://www.w3.org/TR/clipboard-apis/#async-clipboard-api