Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Karl_Hart
Creator
Creator

Directory Settings

I have a setting

Directory \\SERVERNAME\UserDocs\; at the start of my script

The QVW file I'm working on is saved in UserDocs\100_Main

In the script it says LOAD * from 80_SupportFiles\Test.qvd

So I would expect it to try and use that info and load the file \\SERVERNAME\UserDocs\80_SupportFiles\Test.qvd

However, it is throwing up an error saying it cannot open file \\SERVERNAME\UserDocs\100_Main\80_SupportFiles\Test.qvd

Is there a setting somewhere that is adding the "100_Main" bit (i.e. the folder in which the document is saved?

I cant find it anywhere.

Thanks

1 Solution

Accepted Solutions
DavidFoster1
Specialist
Specialist

It will always try and start with the working directory of the QVW.

It is always worth explicitly setting a location for your QVD files. I use

SET QVD_Path = '\\<SERVER>\<Fileshare Name>\qlikview-files\QVDs';

View solution in original post

1 Reply
DavidFoster1
Specialist
Specialist

It will always try and start with the working directory of the QVW.

It is always worth explicitly setting a location for your QVD files. I use

SET QVD_Path = '\\<SERVER>\<Fileshare Name>\qlikview-files\QVDs';