20 Replies Latest reply: Mar 3, 2017 12:09 PM by Nathaniel Anderson RSS

    Qlik Sense Desktop - Cannot Include using Relative filepath unless in Legacy Mode

    Nathaniel Anderson

      Both of these statements (which , by my understanding, use "relative paths") will cause a failure:

       

      $(Include=test.qvs);

      $(Include=../test.qvs);

       

      The error message is vague, there is no specific "error" I can see other than this mentioned in the Data Load Editor output:

      "Data has not been loaded. Please correct the error and try loading again."

       

      (Even though there are two test.qvs at those locations...

      Which are relative to the Qlik sense working directory, and its parent directory, which -- as this suggests -- are here for me:

      C:\Users\nathanielanderson\Documents\Qlik\Sense\Apps\test.qvs

      C:\Users\nathanielanderson\Documents\Qlik\Sense\test.qvs

      )

       

      Actually, these statements (which, by my understanding, use "absolute paths")  DO work:

      $(Include=C:\Users\nathanielanderson\Documents\Qlik\Sense\Apps\test.qvs);

      $(Include=C:\Users\nathanielanderson\Documents\Qlik\Sense\test.qvs);

       

      Until I  make this change in my Settings.ini :

      StandardReload=0


      After making that change -- ie. turning OFF Standard mode; turning ON legacy mode...

      Then no errors with the relative paths or otherwise.


      Maybe I must look in the "script log files"?