Skip to content

Set Application Clipboard Data

Feature Description

Application clipboard shares data within the application. In some cross-module interactions where data needs to be temporarily stored, the application clipboard can be used as a temporary data storage. For example, when a user selects some data in a table, clicks the Copy button, then switches to another table and clicks the Paste button to paste the copied data into the new table.

The clipboard is unique within the application scope, and subsequent settings will overwrite previous values.

Parameter Settings

Configuration ItemDescription
Clipboard TypeData type identifier for the clipboard
Clipboard ContentContent of the clipboard

Example

Suppose we need to select records from the work group, click the copy button, and when creating tasks in the group task module, automatically assign them to the work group association record field in the group task module.

To configure the above functionality, you need to add a button to the table toolbar of the work group module:

  • Select Set Application Clipboard Data for the execution action of the configuration item
  • Configure the Clipboard Type, which supports Expression; in this example, it is group
  • Configure the Clipboard Content, which supports Expression; in this example, it is the selected record list
  • Add a create button to the table toolbar of the work task module and obtain application clipboard data

The specific configuration for this example is shown in the following figures: