Actions
A detailed overview of the types of Actions.
Last updated
A detailed overview of the types of Actions.
Last updated
Action is an operation that you can perform in Jet Admin. Visually, the action is a button in the Jet Admin interface.
To add an action you need to
Select a Button component
Drag and drop it on the page
There are a variety types of actions that are split into sections:
Run operation. Perform any CRUD operation or custom API/SQL query.
Export Data. Export data from the table.
Import Data. Import data to a collection.
Navigate to page. Passing values and switching between pages.
Open URL. Open the link in a new or the current tab.
Open Actions Dropdown. Create a sub-menu of actions.
Open Overlay/Close Overlay. Open or close the overlay.
Show Notification. Show custom notification.
Copy to Clipboard. Copy data to your Clipboard.
Run Component Action. Act on a component, such as updating data or clearing the form after submitting.
Set Variable. Set a value to a specific Page Variable or Page Variable .
Run JavaScript. Execute a JavaScript code.
Download File. Download the file from the API call.
Scan QR/Bar Code. To scan a graphic code.
Run workflow
Run Workflow. Fires a sequence of events.
You can set up a confirmation dialog that will appear before executing an action.
To add a confirmation dialog, use the "Confirm on execute" section of the right-side panel
You can define the Title, Description, and button styles for your confirmation dialog.
Perform operation with your resources, such as CRUD operations with Databases, operations with third party services, APIs and frameworks, and operations with storages.
Click on the Button
Go to the Click Action
Choose Run Operation
Choose the Resource
Choose the Action
You can perform these actions with storages:
Getting private file URL
Uploading a File
Getting list of objects
Creating a directory
Removing an object
You can pass values and switch between pages. To do so, follow the steps:
Click on the Button
Go to the Click Action
Choose Navigate to Page
Choose the Link of the Page
Opens any website URLs, use Action specified as Open URL.
Click on the Button
Go to the Click Action
Choose Open URL
Click on the URL icon to change the URL of the Page
You can close the pop-up overlay window. To do so, follow the steps:
Click on the Button
Go to the Click Action
Choose Close Overlay
The Open Actions Dropdown feature allow you to create a list of multiple separate actions that will appear in a drop-down list. This dropdown menu facilitates triggering queries and other actions with ease.
Multiple Actions: Create a list of distinct actions that users can select from a dropdown menu.
Ease of Use: Simplify the process of triggering various actions from a single interface element.
Manual Configuration: Customize the actions list according to specific requirements.
You can act on a component, such as updating data or clearing the form after submitting.
Component ActionsYou can show custom notifications.
Custom NotificationsTo execute JavaScript code upon clicking a button, follow these steps:
Click on the button.
Navigate to the Click Action.
Select "Run JavaScript."
Type your JavaScript code and return the result.
You can Insert input values from other components and use it further within your JavaScript code. To do that, click 'Insert Input' and choose the needed component.
You can export data from the table. To do so, follow the steps:
Click on the Table
Go to the Actions Tab
Scroll down to the Header Actions
Click on the New Action
Choose Export Data
Choose the Resource and the Collection
Click on the Button
Go to the Click Action
Choose Download File
Now, let's define the Resource and Operation. To do so, follow the steps:
Click on the button
Pick a resource
Choose an operation to write SQL queries
Write the SQL query
Click on the Run button
Click on the Save button
This will generate a JSON file with the data.
You can set up actions to copy data to the clipboard. This works with all components. To configure it, follow the steps:
Go to the Actions Tab
Go to the Row Click
Choose Copy to Clipboard
Click on the Set up with Formula
icon
Choose Email