Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

New Contributor II

Sub Routines and Scope of Include Files

Hi all,

i have a question about the scope of an include file. The reason i ask for is, that in the QlikSense Main Script i include a File named "Init_A.qvs". Inside this script sub routines and serveral includes will be done. Within "Init_A" i can use the routines, no problem here.

Next include in Main is "Init_B.qvs". Here the routines loaded before can not be used. Even in Main they're cannot be used. I have to reload/include the routine scripts in "Init_B" again to make them work.

Now, does anyone know why this happens and/or have a useful source to an script scope explaination?


The attachment will show a picture of the project structure i explained above.