Discussion Board for collaboration related to QlikView App Development.
i am trying to understand the the difference between relative path and absolute path..
what does the .\ and ..\ represent iam trying to understand..
i assume that . means current directory and .. means previous directory..
can someone elaborate or explain when to use this . and ..\
.\ is the relative path to the current directory
..\ is the relative path to the parent of the current directory (i.e. one directory up)
If you're using relative paths you can use ..\ to point to somewhere else:
means two directories up, then to dev and then into include and finally the file myscript.qvs
Can u please give me example where these are implemented.
you can see this...
The use of ..\..\ allows for the load to point at a file in a dfferent directory relative to the one the dashboard is in, without having to hard code the parth. This means I can move the structure fron DEV area to TEST server and not have to worry about changing a lot of file references, for example.
Relative path indicates the directory of data source where qlikview application are saved.
Relative path means, you need to give the path based on the current path, for example if your Qlikview file and SalesData.txt file are in the same path(C:\Qlikview\Data\) then you can use
SalesData.txt no need of the remaining path.
Suppose if you want to access a file in Qlikview folder then you need to use ..\, mean that go back one folder level back.
Absolute path is the actual path of the data file in your harddisk.
if you choose absolute path (uncheck the relative path) then you can observe the path of the file
it will come something like E:\QlikView\RF\codiciw13.xlsx