<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help with Async Object Handling in Mashups in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Help-with-Async-Object-Handling-in-Mashups/m-p/1296550#M7206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14907331954529311" jivemacro_uid="_14907331954529311"&gt;
&lt;P&gt;app.getObject('QV02','cJvY').then( function ( model ) {&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; model.Validated.bind( function () {&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('Validated');&lt;/P&gt;
&lt;P&gt;&amp;nbsp; });&amp;nbsp; &lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to no avail. The "Validated" code never runs even though the objects load just fine. What is the correct way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 20:35:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-28T20:35:03Z</dc:date>
    <item>
      <title>Help with Async Object Handling in Mashups</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Help-with-Async-Object-Handling-in-Mashups/m-p/1296550#M7206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14907331954529311" jivemacro_uid="_14907331954529311"&gt;
&lt;P&gt;app.getObject('QV02','cJvY').then( function ( model ) {&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; model.Validated.bind( function () {&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('Validated');&lt;/P&gt;
&lt;P&gt;&amp;nbsp; });&amp;nbsp; &lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to no avail. The "Validated" code never runs even though the objects load just fine. What is the correct way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 20:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Help-with-Async-Object-Handling-in-Mashups/m-p/1296550#M7206</guid>
      <dc:creator />
      <dc:date>2017-03-28T20:35:03Z</dc:date>
    </item>
  </channel>
</rss>

