Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
steve_l
New Contributor

Variable population outside of script

Hi all, I am facing a situation where variables are being populated with values within my QV application, but are specifically NOT being set in the script nor entered manually in the Variables tab. 

For example, the script is as follows:

SET v_StartDateTimeMin = ' ';

SET v_StartDateTimeMax = ' ';

The support team has assured me no variables are being passed in the QMC-based refresh, nor are there external script inclusions that I can see or anywhere else in the script which would provide values to the variables. As far as I can tell they are set to blank. 

Question: Where else might the application be getting values to populate these variables? Is there an ability to create a hidden variable population script? Or might Support incorrect, and if so how would I view the values being passed from the QMC?

Right now I cannot account for how these values are created. Thanks! 

Labels (2)
1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: Variable population outside of script

Variables can be set by Actions within the QV app. These Actions could be attached to objects like buttons or triggers like "OnOpen". Use Document Analyzer to analyze your app and identify what actions it's using as well as all references to the variables in question. 

Qlikview Cookbook: QV Document Analyzer http://qlikviewcookbook.com/recipes/download-info/document-analyzer/

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

4 Replies
sunilpaul
New Contributor II

Re: Variable population outside of script

Hi,

 

the variable values can be passed from other objects using Qlik expression. Kindly check and confirm if no object is updating these variable values.

MVP & Luminary
MVP & Luminary

Re: Variable population outside of script

Variables can be set by Actions within the QV app. These Actions could be attached to objects like buttons or triggers like "OnOpen". Use Document Analyzer to analyze your app and identify what actions it's using as well as all references to the variables in question. 

Qlikview Cookbook: QV Document Analyzer http://qlikviewcookbook.com/recipes/download-info/document-analyzer/

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

Partner
Partner

Re: Variable population outside of script

I assume you have checked every included qvs file in the script?

Besides @rwunderlich tip on document triggers it is also possible to mixture with variables in the vb JavaScript script module.
#OnVacation #BetweenJobs.
Please ekskuse my Norglish and Swenglish typos.
steve_l
New Contributor

Re: Variable population outside of script

The actions were it! Thanks all, been awhile for me having to work with Actions in QV so didn't think of it.