Skip to content
MyAppBuilder
StableAction

Copy text

Overview

Copies text to the clipboard and confirms with a “Copied” message.

Purpose

Share links, reference numbers, addresses or a customer's email with one tap.

Inputs

  • Text — static or dynamic, templates allowed (Booking #{{record.id}} — {{record.date}}).

Configuration

  • Nothing else to set. Pair it with an icon button for compact layouts.

Outputs

  • None.

Example

Copy a share link

Example
Button “Copy link” › On click:
  1. Copy text
     Text: https://northside-repair.example.com/track/{{record.id}}

Errors

  • Browsers only allow clipboard access from a user action and on secure (https) pages; otherwise nothing is copied.

Limitations

  • Copies plain text only.

Advanced

  • Schema: { type: "copy_text", text: Binding }. Uses navigator.clipboard.writeText and pushes a success toast.

Related

Was this helpful?