ToolJet/docs/versioned_docs/version-2.29.0/actions/unset-page-var.md
Karan Rathod 7d4cd6da47
[docs]:app builder 1.5 updates (#8672)
* add getter function and table transformation docs

* add dropdown, number-input, password-input and text-input docs

* [docs] custom parameters for queries

* update docs for revamped components, runJS and runPy functions and sidebar

* change order of properties and other misc changes

* update query panel and other minor fixes

* added version 2.29.0

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2024-02-15 11:51:55 +05:30

1,018 B

id title
unset-page-variable Unset page variable

Utilize this action to clear a variable that was established using the set page variable action.

By default, the debounce field is left empty. However, you can input a numeric value to indicate the time in milliseconds before the action is executed. For example, 300.

ToolJet - Action reference - Switch page

Using RunJS query to unset variable

Alternatively, the unset page variable action can be triggered via a RunJS query using the following syntax:

await actions.unsetPageVariable('<variablename>')

variablename is the key of the variable that was provided while creating the variable.

:::info For instructions on how to run actions from a RunJS query, refer to the how-to guide Running Actions from RunJS Query. :::