Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Not applicable

Help with Async Object Handling in Mashups

I have a mashup with multiple app objects that were created with custom extensions. How do I programmatically wait until after the app objects are loaded to perform other tasks? I've tried this:

app.getObject('QV02','cJvY').then( function ( model ) { 

  model.Validated.bind( function () { 

    console.log('Validated');

  }); 

});

to no avail. The "Validated" code never runs even though the objects load just fine. What is the correct way to do this?

Tags (1)