Copy to clipboard button

We already have a “copy to clipboard” button for the link of the entity itself.

But sometimes there are fields that could be really comfortable to be able to copy in one click.

For example, sometimes we want to be able to copy a name of an entity quickly from the list of one to many entities.

I believe that adding an action to a button to store a specific value to clipboard would help to achieve this.

Perhaps this should be a separate request, but it’s related:

I’d like to be able to:

  1. Select multiple entities in (e.g.) a Table view
  2. Hit Ctrl+C
  3. Go to a Rich Text field somewhere
  4. Hit Ctrl+V
  5. Have my copied entities pasted as links :+1:
2 Likes

You might be able to do this with a Fibery button and a script.

But the Scripting is in Node.JS 12 and I need it on the latest version of Node to make this easy.

I don’t think it will be possible to copy to clipboard using a standard button - the actions that are triggered by a button are executed on the backend, so they can’t affect the browser/OS.

Yes I am also missing an optional Copy-to-Clipboard button to all text/email etc fields. Even with right-click in the cell of a table, there is no “copy”.

I would like to note that adding the “Copy to Clipboard” button in all entities is a bit frustrating as this feature has been requested. The “Fibery Approach” i would have expected and loved would be an implementation “Copy value to clipboard” in the button actions. Then an implementation of “Entity.MD” in formula/script to get the entity markdown. Then we could build out the Copy as Markdown button ourselves. And decide which entities deserve it and to which it just adds more clutter… I hope its coming down the line! :crossed_fingers:

As noted above, I’m not sure that such a solution would be easily implementable. Automation actions are pretty much limited to ‘backend’ changes, so I don’t know how feasible it is to add stuff to a user’s clipboard.

Automation actions are limited to backend changes at the moment. :wink:
I didn’t say it would be easy to do it the Fibery way (it rarely is), but I’m hoping it’s done the Fibery way down the line.

Even buttons? I have a vague memory of asking to be able to trigger Buttons from scripts (which would make them back-end actions for sure), but being rejected…
which means that Buttons currently require an active front-end to be triggered.

I don’t believe this was ever possible

So Buttons do require an operator present to trigger them…
which means it should be feasible to have the front-end add stuff to the operator’s clipboard.

Yes, to trigger

Automation actions are pretty much limited to ‘backend’ changes :confused:

I’m not saying it’s against the laws of physics to allow actions to make frontend changes, but it’s not easy, and not in future plans.