Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
rakeshpaul
Partner - Contributor
Partner - 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

0 Replies