Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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