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: 
cbouchenaki
Contributor II
Contributor II

Using include with webfile

Hi all,

I have a litle problem with Include statement in load script.

Recently the IT team moved my files, so now I access them like webFile, but i have a probleme on one of my script

Before :

SET CsvMongoFolder = lib://csvMongo/;
LET VarToLoad = '$(Include=$(CsvMongoFolder)jupyter\Stock\VarToLoad.txt)';

LOAD
//test,
$(VarToLoad)
FROM [$(CsvMongoFolder)jupyter\Stock\data.csv]
(txt, codepage is 28591, embedded labels, delimiter is ';', msq);

and evrything was OK.

My script now is :

vRoot ='https://exemple.com/PRODUCTION/';
LET VarToLoad = '$(Include=$(vRoot)jupyter\Stock\VarToLoad.txt)';
LOAD
//test,
$(VarToLoad)
FROM [lib://files]
(url is [$(vRoot)jupyter/Stock/data.csv], txt, codepage is 28591, embedded labels, delimiter is ';', msq);

All of my ohter loads work fine except this one. Does anyone know how to use include statement in this case ?

Thanks,

Chihab.

1 Solution

Accepted Solutions
cbouchenaki
Contributor II
Contributor II
Author

Finaly the solution was to disable standard mode. 

may be others solutions exists

View solution in original post

1 Reply
cbouchenaki
Contributor II
Contributor II
Author

Finaly the solution was to disable standard mode. 

may be others solutions exists