2 Replies Latest reply: Mar 21, 2017 3:14 AM by Gregory Longé RSS

    Qlik Extension: Theme.js location differs in Qlik Sense versions

    Gregory Longé



      Is there any way to determine the version of Qlik Sense in which the extension is running BEFORE the define statement in the main.js file? I am asking because I am using a file that has a different path depending on the version of Qlik Sense.


      I am looking for something like this:


      if(qlik.currVersion() = "2.0") { mPath = "path1"} else { mPath = "path2"};

      define([mPath], function (mName) { })



      Thanks in advance,


      Kind regards