Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

rakeshpaul
New Contributor

Adding to Application under same API mashup

Hi All,

I am trying to build an API mashup where I need two application to be added. I am being able to add one application by using these piece of code but failing to add one more -

if (value.qDocName === "Backlog" || value.qDocName === "Backlog.qvf"){

  //open apps -- inserted here --

var app = qlik.openApp(value.qDocName, config);

  var app2 = qlik.openApp('Backlog.qvf', config);

  $( ".qvobject" ).each( function () {

  var qvid = $( this ).data( "qvid" );

  //get objects -- inserted here --

  app1.getObject('QV01','2b4b05de-765f-403c-b706-9172960e8dc8');//Revenue

  app1.getObject('QV42','mEwmpfJ');//Actual/Forecast

app.getObject( this, qvid ).then( function ( object ) {

  qvobjects[qvid] = object;

  } );

  } );

  qlik.setOnError( function ( error ) {

  alert( error.message );

  } );

  }

Please suggest how I can add one more app into here.

Regards,

Rakesh Paul

Community Browser