Skip to main content
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Why can't Qva.LoadScript load files from sub-folders?

I have created an extension Extensions/mytests/HelloWorld.

Now, when I organize my files into sub folders, Qva.LoadScript fails to load it.

In fact, it loads only things that are at the root like "Extensions/mytests/HelloWorld/myscript.js" and fails "Extensions/mytests/HelloWorld/scripts/myscript.js"

What am I doing wrong or is it just not supported? in this case, it will be impossible to have all files at the root.

var my_extension_path = Qva.Remote + "?public=only&name=Extensions/mytests/HelloWorld";

Qva.LoadScript(my_extension_path + "/myscript.js", my_app_done);    // SUCCEEDS

Qva.LoadScript(my_extension_path + "/scripts/myscript.js", my_app_done);    // FAILS

5 Replies
Not applicable

Hey I'm having the same issue.  Did you ever figure out why it fails?


So one of the weird things with extensions in QV is that when you add subfolders, you need to also add a Definition.xml file to each subfolder.  Super weird, I know, but that should do the trick.

Former Employee
Former Employee


I would contact support with this issue. It has been put in as a bug.


Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable

Thanks that worked!

Luminary Alumni
Luminary Alumni

Worked for me too.  using QV11.2 SR6.