Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Export Variables from an application.

Hi,

Is there any way by which we can export all the variables created in the application (During the reloading or development).

Vivek

1 Solution

Accepted Solutions
Highlighted
Partner
Partner

then you could remove the = in a copy of your application and use Johannes approach.

But maybe this way works also :

3:

LOAD

          '$(Variable1)' as Variable1

          ,'$(Variable2)' as Variable2

AutoGenerate(1);

STORE [3] into c:\Variables.txt (txt);

View solution in original post

14 Replies
Highlighted
Specialist III
Specialist III

One way of doing this is to create all variables in the script and export the script file from which the variables can be created. Probably this is a good practice as this documents all the variables in the application.

Highlighted
Master
Master

1. Create an input box

2. Click Add All to list all variables

3. Send to Excel

Highlighted
Not applicable

hi Johannes,

thxs for the reply... i have tried this approach but the variables that are declared with the '=' displays the result rather than the expression.

how can i export the exact expression of the variables which has the expression starting with '='?

Highlighted
Partner
Partner

It seems that Johannes is right. See attached example.

Highlighted
Master
Master

Yeah Vivek,

You're right. Didn't think about that one

Highlighted
Not applicable

hi,

the example shared by you doesnot contain '=' sign before the expression...so the result is the whole expression but if the expression is declared with '=' sign at the begining then it doesn'tshow the expression but the result of the expression.

See the attached file.

Highlighted
Specialist III
Specialist III

For this exact reason, I suggested to include the expression for defining the variable in the script and export the script with the expression.

Highlighted
Partner
Partner

sorry yes you are right. Is it a one time thing or you need to export the expressions over and over again?

Highlighted
Not applicable

no its a one time thing...actually the thing is that the applications have very complex expressions defined in them. so i wanted to export all the expressions for safe keeping.