Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
agigliotti
Partner - Champion
Partner - Champion

how to delete all variables

Hello,

Is there some external utility to delete all variables from a Qlik Sense App ?

Regards

Andrea

13 Replies
bur
Employee
Employee

Hi,

This extension (in development) is a starting point for your need to delete all design variables.

https://github.com/BaptisteDurand/QlikSense-VariablesDestructor

By default, no option is thicked. Set them to delete variables.

Deleting all variables can consume a lot of CPU resource. Use carefully : Not a Qlik Product, Not supported.

For an utilization with Qlik Sense Desktop, use it in an external browser (Chrome or Mozilla).

Now, script variables are deleted when you export an app without data. It wasn't the case before to get this option. I recommend to have this approach. It should consume less resources.

Baptiste

 

pranam-k
Contributor II
Contributor II

Hi,

You got any solution?

How can I delete a variable from the UI using "DestroyVariableById" method in script?

cristiand
Contributor III
Contributor III

Hi,

"WithDave" has created a chrome bookmark (bookmarklet) that allow us to delete all the variables from QS apps.

I tried it with QS Nov-21 and it is working fine.
You just need to add the bookmarklet to your chrome bookmarks tab and when you are at the QS app, open the variables editor and hit the bookmark.

Explanation:
https://withdave.com/2019/11/remove-destroy-all-variables-in-a-qlik-sense-application/
Bookmark to add:
https://withdave.github.io/qsvd/

Best regards,

Cristian

Cristian Dorbesi
simonaubert
Partner - Specialist II
Partner - Specialist II

Hello,

This idea can interest you.

https://community.qlik.com/t5/Suggest-an-Idea/Drop-variable-from-script-and-with/idi-p/1865267

 

Bi Consultant (Dataviz & Dataprep) @ Business & Decision