ToolJet/docs/versioned_docs/version-2.68.0/tutorial/actions.md
Aman Regu bdfe3270e2
[docs]: v2.68.0-Beta (#10755)
* docs: jira

* docs: formatting + Client Credentials grant type

* docs: connection string pgsql

* docs: parameterized queries mysql

* docs: parameterized queries in PostgreSQL

* docs: update mysql example

* docs: TJDB sql editor

* docs: add metadata to REST API

* docs: add, update  postgresql media

* docs: add metadata to graphql

* docs: update parameterized queries

* docs: add parameterized queries for mssql

* docs: add SSL Cert to mysql

* docs: TJDB SQL restricted commands

* docs: update JIRA token location

* docs: update delete issue example

* docs: update find user by query example

* docs: remove session id from get assignable users

* docs: use correct image for get issues for board

* docs: update create issue example

* docs: update delete issue media

* docs: update assignable users media

* docs: update examples

* docs: update key desc

* docs: v2.68.0-Beta
2024-09-13 19:23:19 +05:30

1.3 KiB

id title
actions Adding actions

Adding actions

ToolJet supports several actions that can be invoked as the handler for any event that is triggered in an application.

To add actions

To attach an action for component events, click on the component's handle, and then click on the Add handler button on the inspector panel available on the right side.

To attach an action for query events, select the query, go to the advanced tab and then click on the Add handler button.

Available actions

Some of the actions that ToolJet Support are

Action Description
Show alert Show an alert message as a bootstrap toast
Run query Run any of the data queries that you have created
Open webpage Go to another webpage in a new tab
Goto app Go to another ToolJet application
Show modal Open any modal that you've added
Close modal Close any modal that you've added if its already open
Copy to clipboard Copy any available text that you see on the application to clipboard
Set localStorage Set a key and corresponding value to localStorage
Generate file Construct file using data available in your application and let the user download it