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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
danialier
Creator III
Creator III

Relative Paths

Hello !

Which is the funcionallity of cliking "relative paths" or not when uploading a file into the script of QlikView ?

thks,dani

7 Replies
alexandros17
Partner - Champion III
Partner - Champion III

With relative path you are not linked to the disk unit (E:\ ...)

sujeetsingh
Master III
Master III

relative path searches for the file just where you are having the qvw file saved

danialier
Creator III
Creator III
Author

And which is the benefit of that ?

MK_QSL
MVP
MVP

Not applicable

If you check Relative path then the file will not be dependent on the place you saved.

If you migrate qvw files to other location then it will not create a problem.

So very useful.

If you give relative path then it will take the path of the folder where ti is located for other files also if the files are linked to each other

fkeuroglian
Partner - Master
Partner - Master

Hi, using relative path you dont depend on the root folder at alla, if you change the document to another pc, the document will continue works ok.

if you do not use relative path you are obligated to have the same root path always, and obviously you have to change each time you change to another pc.

good luck!

Fernando

Siva_Sankar
Master II
Master II

Say for example you have all your working files at

     D:\QlikView\Working folder, Qvds at D:\QlikView\Qvds.

     Now if you want to add qvd to your application residing in folder working, you can do following way.

     1. Absolute path i.e

     Load * from d:\QlikView\Qvds\Abc.Qvd(Qvd);

     2. Relative path

     Load * from ..\Qvds\Abc.Qvd(Qvd);

     Here in relative path you are saying. Pick my current application path and (..) means go one directory out (Meaning go Back to QlikView folder) then go to Qvds and get the Abc.qvd.  

     So the number of times (..)  will depend on how deep you are into the folder structure.

Regards.

Siva