System
System actions use browser or device capabilities such as location, file access, and the clipboard.
| Category | Actions |
|---|---|
| Location | Get location |
| File | Upload file, Download file, Download image |
| QR code | Generate QR code |
| Device | Set clipboard |
| Share | Share 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.
| Parameter | Required | Description |
|---|---|---|
| Page variable | Yes | File variable that receives the uploaded file |
| Limit size before upload | No | Maximum 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.
| Parameter | Required | Description |
|---|---|---|
| File | Yes | File 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.
| Parameter | Required | Description |
|---|---|---|
| Image | Yes | Image 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
- Add Component > Layout view > View to image and select the target view.
- In its On success branch, add System > File > Download image.
- 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.
| Parameter | Required | Description |
|---|---|---|
| Is Plain Text | No | When enabled, configure Plain Text directly. When disabled, add entries under Parameters. |
| Plain Text | Conditional | Shown when Is Plain Text is enabled. Enter the text or URL to encode. |
| Parameters | No | Shown when Is Plain Text is disabled. Add parameters and configure a name, type, and value for each one. |
| Assign image to | Yes | Image page variable that receives the generated QR code. |
| Has background image | No | When enabled, upload a background image and configure the QR code size and relative position. |
| Background image | Conditional | Shown when Has background image is enabled. |
| Size | No | Shown when Has background image is enabled; measured in pixels. |
| Relative position | No | Shown 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.
| Parameter | Required | Description |
|---|---|---|
| Copy content | Yes | Fixed 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.
| Parameter | Required | Description |
|---|---|---|
| Share link | Yes | Fixed URL or bound page data |
| Share content | Yes | Fixed 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.