4 Replies Latest reply: Oct 21, 2016 5:25 AM by VISHAL GAURAV RSS

    Qlik Sense integration in web app

    VISHAL GAURAV

      Hi,

      I am trying to integrate qlik sense into our web application. I am having trouble with require js set up. Our application usage requirejs internally and defines the local modules in our main js.

       

      Qlik sense and our web app are installed on separate sub domains.

      We have one entry for require using data-min as follows.

       

      <script type="text/javascript" data-main="main" src="http://qlikurl/proxy/resources/assets/external/requirejs/require.js" ></script>

       

      Since requirejs provided by qlik sense has few other modules embedded so we are using that.

       

      Now when we trying to load qlik js using

       

      require([ "js/qlik" ], function(qlik) {});

       

      I am getting errors. Sometime it tries to load local resources from qlik sense server. Its behavior is sporadic.

       

      I understand now there are two base url one for loading qlik sense resources and one from our local app. I tried different ways to initialize require but nothing works , specially after version 3.

       

      I just want to know how people are using it.

       

      Thanks

      -Vishal