0 Replies Latest reply: Mar 28, 2017 4:35 PM by Bryan Chastain RSS

    Help with Async Object Handling in Mashups

    Bryan Chastain

      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?