Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
Hi,
I would contact support with this issue. It has been put in as a bug.
Bill
Thanks that worked!
Worked for me too. using QV11.2 SR6.