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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Include File

Hi All,

  I need  to use "Include" file concept for my DB string to find out dev/QA and Prod envt. Kindly share me if any one of you having the same.

-Jay

3 Replies
sujeetsingh
Master III
Master III

use a wildmatch () to search some extension or file type or name.

And then pass the same in a variable then include it

Anonymous
Not applicable
Author

Assuming you have 3 seperate qvw's in 3 seperate folders, then you could simply put the 3 different include files into the 3 folders, with each file pointing to its respective database.

More elegant though is to have 3 dedicated folders for your 3 include files and use a relative path in your qvw to access them.

Instead of include I use mustinclude as that has error trapping should the file not exist.