Automatically delete script generated variablesArticle Number: 000046626 | Last Modified: 2018/11/21
If the variable was created in the script, and it is empty, it will not be copied out to the layout.
So a script created variable can be deleted either with:
Run for example this script below in a new document:
Note that no vTest variable will exist in the variable overview. However, if you already had a vTest variable from before, it will still be there!
1. Make sure you have no variables in your variable overview.
2. Make sure you let your generated variables be Null at the end of your Loop in the script.
If you are using QlikView you can delete them manually by using the Project Folder and removing it directly from the XML files. https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/QlikView_Project_Files.htm
In Qlik Sense you don't have that option, but you can instead do this with the Variable APIs https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/qlik-variable-interface.htm
Have a Question?
Search Qlik's Support Knowledge database or request assisted support for highly complex issues.Submit a case
Experiencing a serious issue, please contact us by phone. View phone numbers and hours by region.