Qlik Community

QlikView Integrations

Discussion Board for collaboration on QlikView Integration.

Support Case Portal has moved to Qlik Community! Read the FAQs to start exploring Support resources.
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Building QlikView Extension - read js files from folder

Hello Everyone,

I'm building a QV extension using a few different js Files. i'm having an issue with sorting all files and insert it to folders.

when i located in the root folder all scripts worked.

when i tried insert them to root\js folder the object was not drawn and the functions were not recognized.

i tried to simplify the code by adding alert function after adding the extension an it didn't work.

i'm using  QlikView 11.2 SR9.

this is my main.js code:

var files = [];

var _path = "Extensions/myExtension/";

var template_path = Qva.Remote + (Qva.Remote.indexOf('?') >= 0 ? '&' : '?') + 'public=only&name=' + _path;

     files.push(template_path + 'js/myScript.js');

      Qva.LoadExtensionScripts(files, function () {

           Qva.AddExtension('myExtension', function () {




myFunctionInOtherScript() is a function in myScript.js

Has anyone got any ideas why this code doesn't work? Any help would be highly appreciated.

Thanks in advance,


0 Replies