9 Replies Latest reply: Jan 19, 2017 7:04 PM by Digvijay Singh RSS

    Load script - Include QVS error - Qlik Sense

    Lokesh Patel

      Hi Guys,

       

      My include script statement is not picking up variables set before the include statement.

       

      In the beginning of the load script I declare 2 variable as shown below

       

      Set vAppName = 'Sales Dashboard' ; 

      Set vConnectionName = 'lib://MYPC (LP1990)' ;

       

      I set above variables because each QVF application has 2 folder path. 

      • Global folder paths (Shared by every other apps too) and
      • local folder paths (only used by that specific app).

       

      First, it sets Global folder path by including QVS file that contains set variable statements for global (attached in the post)

       

      $(Must_Include=$(vConnectionName )\Global_Paths.qvs);

       

      Then, it sets Local folder path by including QVS file that contains set variable statements for local folder paths (attached in the post)


      $(Must_Include=$(vConnectionName )/$(vAppName)\Local_Paths.qvs);



      When I run the load script. all the variables are set fine from the  Global_Paths.qvs

       

      But when the variables set from the Local_Paths.qvs  are not picking the the variable vAppName.

       

      What could be going wrong?