In QlikView, you had the ability to select multiple variables and delete them en-mass. In Qlik Sense, the UI permits you to undertake this activity one-by-one, and each takes two or three clicks.
This bookmarklet (Chrome only this time, not tried elsewhere) removes ALL variables from a Qlik Sense application by cheating the APIs used by the Qlik Sense client.
The best principle to follow when building apps is to ensure that all variables are recoverable – this means that the definition is set during the reload process in the load script.
How do you use it?
- Navigate to a Qlik Sense sheet and enter edit mode
- Click on the variables menu to bring up the list of user-facing variables
- Click the bookmarklet in your browser, and confirm you wish to proceed
- qsvd will destroy your variables, and print them out to the console just in case you made a mistake
Click here to get the bookmarklet, or go to the qlik-sense-variable-destroy repository for the code.