Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

chavanqlik
New Contributor II

GetApplist doesn't get the app in the Angular mashup in IIS

Hello All,

I wanted to select first app from the hub Getapplist, it works fine at Hub, but when I'm trying to do the same thing using vs code and run locally (in the IIS), It throws an error:


function getQlikApp() {

   var appCode = [];


//Works fine in HUB / not in the IIS

   qlik.getAppList(function(list) {

   var str = [],

     appID = str;error.PNG

     debugger;

     console.log("configuration" +list);


   list.forEach(function(value) {

     str.push(value.qDocName);

     appCode.push(value.qDocId);

   });

});

//I've to speciy the AppId manually like this below it works

   return qlik.openApp("31466404-69b0-4e33-8560-15bb549eb7c9", config);

  

};


It skips the getapplist, goes directly  to the openapp and opens the app


Could anyone please help me to resolve this issue.

Community Browser