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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
john_oll
Partner - Creator
Partner - Creator

Must_Include without error (Server, OnPrem)

If you use a Must_Include in your script, you expect an error every time the corresponding file was not integrated into the script.

Today I witnessed it for the first time (on 2025-Nov) that this did not happen.

No error, but the Must_Include can't work, because no connections exists. Feels like the line was basically skipped.
(and no, not due to changing ErrrorMode)

When looking at the code, there was a tiny mark on the line, which said that the file was not found. This is where the preview of the file would be. (Side question: I did not find information about the version which added this integrated preview option for include files. I guess 2025-Nov? )

I did not find any hint in the documentation or the release notes that explained this.
I am also not aware of a config parameter you can change to cause this behavior.

One guess was:
This happens when the lib:connection does not exist. But when testing on another server, such a Must_Include did produce an error as expected.

Context: the specific app was imported in QMC, and that line was working on the other server.
And on the new server the connection with that lib name does not exists ... neither in QMC nor in the app (which should be identical anyway). (And if they existed, but were not visible for the user manually running the app it should also fail ...)

Any ideas how this is possible?

Labels (1)
0 Replies