Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
mhmmd_srf
Creator II
Creator II

Relative Path is Not working in Include Function

Hi All,

I am using Include function to load qvs. I am using below script:

$(Must_INCLUDE = ..\Data\AHPConfig.qvs);

The script is running with out any error. Though no file is not fetching.

We have an inline load in the qvs file.

Could any one please help me.

Thanks,

Sarif

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Must_Include will throw an error if AHPConfig.qvs is not found, so the file is being located.

Look in the script document log to see what script is being included and executed.

-Rob

View solution in original post

3 Replies
vishalgoud
Creator III
Creator III

Must Include will not through any Error even if the file not found the mentioned location.

So check the file location once again, and your path should be like this.

$(include=..\..\..\03_Config\01_Scripts\Conf_LoadPaths.txt);

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Must_Include will throw an error if AHPConfig.qvs is not found, so the file is being located.

Look in the script document log to see what script is being included and executed.

-Rob

sasiparupudi1
Master III
Master III

Hi two ways to debug

Use the debugging window put the break point on the line and step into the file to findout whats going on.

Second is to check your document log to see what would have happend.

third option is to copy the contents of the qvs file into your app ,put trace commands in it ,run it and use the log file to see what hsppend.

Hth