Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
Showing results for 
Search instead for 
Did you mean: 
Not applicable

mashup manage objects

Hi folks,

I need your help urgently with a qlik sense mashup. I'm new in both angularjs and qlik sense. The problem I have is that the performance of the application suffers as I navigate between different states to the point that objects take a long time to load and stop working correctly.

Here is an excerpt from the code I use to load the application:

var app;


function getQlikApp(app1)


    if (app1 == null) {

         appl =  qlik.openApp( "6bdf6084-6578-5f79-be7g-d8339089ae1s", config );


    return appl;


myApp.config(function config($locationProvider, $routeProvider) {


   .when('/position', {

   controller: 'controller.position',

   templateUrl: 'position.html',

   resolve: {

   app: function () {

   app = getQlikApp(;

  return app;





As for the objects I have tried to load them by calling them directly:

$, id);

and through a service, passing the element and its id by parameters:

myApp.service('getObjects', ['$route', '$q', function($route, $q) {

  var self = this;

  self.var = null;

  self.getObjects = function (objects) {

         var deferred = $q.defer(); 

         var promises = []; 

angular.forEach(objects, function(key, value) { 

$, key).then(function(){ 





  return $q.all(promises); 



But the result is the same. After changing status, the console returns errors related to objects:

Error from Engine: Object {jsonrpc: "2.0", id: 79, error: Object}

Do you know where the problem is? Am I  handling the load of objects incorrectly? Should they be removed every time you change status? (In the API I have found method (id)). If you need more code/details just tell and I will provide them.

Thanks in advance for your help!

0 Replies