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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ericdelaqua
Creator
Creator

Call Multiple .QVS files in order

Hello,

 

I needs some help with this scenario. I have moved all my code from the app into multiple .qvs files for ease with change.

I need help with loading all the files and running them in order . so when the code inside load1 is complete the code in the next file ,load2 starts and so on.

the codes are long and there is a lot files.  how could this be called?

Thanks

 

qvsload.png

 

Labels (2)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

The script will run in the order you Include the script files. The script below will run in 1 before 2 before 3.

$(Include=lib://QvsFiles/Load1.qvs);

$(Include=lib://QvsFiles/Load2.qvs)

$(Include=lib://QvsFiles/Load3.qvs)

View solution in original post

2 Replies
Vegar
MVP
MVP

The script will run in the order you Include the script files. The script below will run in 1 before 2 before 3.

$(Include=lib://QvsFiles/Load1.qvs);

$(Include=lib://QvsFiles/Load2.qvs)

$(Include=lib://QvsFiles/Load3.qvs)

ericdelaqua
Creator
Creator
Author

yes and it worked. thanks a lot @Vegar