Skip to Content

System

System actions use browser or device capabilities such as location, file access, and the clipboard.

CategoryActions
LocationGet location
FileUpload file, Download file, Download image
QR codeGenerate QR code
DeviceSet clipboard
ShareShare to X

Location

Get location

Get the user’s current latitude and longitude and save the result to a Geopoint page variable. You can bind the result to a Map component.

Result

  • latitude: Latitude of the current location.
  • longitude: Longitude of the current location.

The browser requests location permission the first time this action runs. Location access also requires the published site to use HTTPS.

File

Upload file

Let the user choose and upload one file. Save the uploaded file to a File page variable.

ParameterRequiredDescription
Page variableYesFile variable that receives the uploaded file
Limit size before uploadNoMaximum file size accepted by the action

Each execution uploads one file. Uploading another file replaces the previous value in the page variable. To keep the file, save it to the database in the action’s On success branch.

Download file

Download a file from a page data source.

ParameterRequiredDescription
FileYesFile field or other file data to download

This action has no data output. The browser starts the download after the action runs.

Download image

Download a bound image.

ParameterRequiredDescription
ImageYesImage to download, such as an image variable, page-data field, or another action’s image result

This action has no data output. The browser starts downloading the image after the action runs.

Download a view as an image

  1. Add Component > Layout view > View to image and select the target view.
  2. In its On success branch, add System > File > Download image.
  3. Bind the Image parameter to the result of View to image.

Make sure the target view has finished rendering. Otherwise, the generated image may be incomplete.

QR code

Generate QR code

Generate a QR code from plain text or a set of parameters and save the result to an Image page variable.

ParameterRequiredDescription
Is Plain TextNoWhen enabled, configure Plain Text directly. When disabled, add entries under Parameters.
Plain TextConditionalShown when Is Plain Text is enabled. Enter the text or URL to encode.
ParametersNoShown when Is Plain Text is disabled. Add parameters and configure a name, type, and value for each one.
Assign image toYesImage page variable that receives the generated QR code.
Has background imageNoWhen enabled, upload a background image and configure the QR code size and relative position.
Background imageConditionalShown when Has background image is enabled.
SizeNoShown when Has background image is enabled; measured in pixels.
Relative positionNoShown when Has background image is enabled. Use x and y to position the QR code on the background.

The Action enters On success after generating the image and On failure if generation fails. Bind the assigned page variable to an Image component to display the result.

Device

Set clipboard

Copy text to the system clipboard so the user can paste it elsewhere.

ParameterRequiredDescription
Copy contentYesFixed text, a page variable, or component data; text only

This action has no data output. Add Show toast after it when you want to confirm that the content was copied.

Share

Share to X

Open X with a link and text prefilled for a new post.

ParameterRequiredDescription
Share linkYesFixed URL or bound page data
Share contentYesFixed text or bound page data

The user must be signed in to X and confirm the post. Whether the content is published depends on the user’s action and X’s current content restrictions.

Last updated on