Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
himabinduch
Creator
Creator

Relative Path

Hi everyone,

how relative path will work exactly

i have only one drive in my laptop so it is taking only that. if i have multiple drives then how relative path will work.

and

if i have any file in desktop how the relative path would be????

Thanks in Advance.

HimaBindu Chadalawada.

9 Replies
Not applicable

Hi Bindhu,

For example  u have file in below folder

C:\Qlikview\sales.qvd

u have loaded this qvd into qlikview and created a qvw.

same qvw u have opened in another machine and u trying  reload the qvw there ,but in another machine u don't have vd in  Cdrive

u have  it in  D  Drive

D:\Qlikview\sales.qvd

while loading the qvd into qlikview if u check the option of relative path u will get like this

..\Qlikview\Sales.qvd

..\ is Root directory  (It will look back one step back)

sdmech81
Specialist
Specialist

himabinduch
Creator
Creator
Author

Hi Manoj,

Thanks for the reply

i have two excel sheets in the same folder as below

C:\test\New folder\Data\test.xls

😧\test\New folder\Data\test.xls

if i use relative path as ..\..\Data\test.xls

then which excel sheet will pickup???

himabinduch
Creator
Creator
Author

Hi,

Thanks for the reply

i have two excel sheets in the same folder as below

C:\test\New folder\Data\test.xls

😧\test\New folder\Data\test.xls

if i use relative path as ..\..\Data\test.xls

then which excel sheet will pickup???

surendraj
Specialist
Specialist

It will pick the

C:\test\New folder\Data\test.xls

Because

.. means it will go to C:\drive automatically.

vardhancse
Specialist III
Specialist III

It will go to root folder.

Or else just try to change the file name and reload the dashboard using relative path.

Relative path was not for local system paths:

In server we have DEV/QA/Prod

So when we are moving dashboards from one server to another, relative paths will be very much helpful

vardhancse
Specialist III
Specialist III

@manoj Kimar given the example just to make you understand the functionality of relative path.

vardhancse
Specialist III
Specialist III

Hi Hima Bindu,

hope your doubt was now clarified.

can close the thread so that it might be helpful to others

Not applicable

Hi Hima Bindhu,

I have tested ur scenario,

it will load the files from both Directories...