Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QVF script

Hi,

I have to run a qvf script, but I don't know how to do it with the Qlik Sense Desktop app.

In the attached file there is the qvf file, it needs some property files.

Thanks

1 Solution

Accepted Solutions
vlad_komarov
Partner - Specialist III
Partner - Specialist III

It's not clear what is your problem...

Are you missing include file? Do you have other problems executing the script in this QVF file?

Can you post the error log here?

VK

View solution in original post

5 Replies
vlad_komarov
Partner - Specialist III
Partner - Specialist III

It's not clear what is your problem...

Are you missing include file? Do you have other problems executing the script in this QVF file?

Can you post the error log here?

VK

Not applicable
Author

I have a problem in the path configuration. Thanks a lot for the availability.

vlad_komarov
Partner - Specialist III
Partner - Specialist III

My understanding that you are having issues with the Include statement:

You need to do the following:

1. Create a Data Connector (Folder type) pointing to the folder where you will be keeping your include files. In my case the connector was called CommonScripts

2. Create variable for this Data Connector name. For example:

set ScriptsLibrary = 'lib://CommonScripts (main_user)';

3. Adjust your include statement as following and use it for multiple include files:

$(must_include=[$(ScriptsLibrary)/Logs.qvs]);

$(must_include=[$(ScriptsLibrary)/General_App_Variables.qvs]);

I would suggest to use a "must_include" statement instead of "include". It will throw the loading error if something happens with the include file..

Regards,

Vlad

Not applicable
Author

Thanks! It works

vlad_komarov
Partner - Specialist III
Partner - Specialist III

Glad to hear!

VK