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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
rwunderlich
MVP
MVP

QV12 $Include and Directory

I just noted today that Include / Must_Include now respect the Directory statement. For example.

Assume My.qvw and a file config.txt in the same directory.

DIRECTORY Data;

$(Must_Include=config.txt);

This will work in QV11. The Directory statement does not affect the relative path of an include.

It will fail in QV12 SR3 with the error message:

$(MUST_INCLUDE failed: C:\foo\Data\config.txt

because it will look for the config.txt in the Data subfolder.

Any comments as to whether this is desirable, intentional or bug behavior? This will be a breaking change for many QV11 users. I find the Help unclear on the topic.

This is consistent with the change to Qvd*() functions respecting Directory. QV12: QVD Functions Respect Directory | Qlikview Cookbook

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

Labels (2)
1 Reply
Not applicable

Hi Rob,

I noticed a similar issue with QV 12.10 SR6 where the directory function doesn't work. I can't find anything on the release notes so I am not sure if this was intentional or it is a bug.

Regards,

Archi