Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I was wondering if there is any way to clear (let vSales = Null()) all variables in one shot or loop.
Any idea? thanks in advace.
Marc.
So, my conclusion is that there is no way to do it in script.
Marc.
I select correct just to close thread.
In the application directly.
Settings / Variable Overview. You select the first variable and press SHIFT to the last variable. Then select Remove
in the script if you put let vSales = null() before your first reload it won't appear in the variable overview window
but once it is there (maybe you reloaded the document before you put the setting of the variable to null)
you need to manually remove the variable from the variable overview
Sorry Yoann, I meant in script. Just wondering if possible...
Marc.
So, my conclusion is that there is no way to do it in script.
Marc.
I select correct just to close thread.
Thank you!
Hi,
Not possible from the script far as I know, but you can do it from the app with help of an external script.
"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