<?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 Re: When Can I Reference the Visualization Model Properties? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/When-Can-I-Reference-the-Visualization-Model-Properties/m-p/1700435#M12760</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/36574"&gt;@dclark0699&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Hope this helps you, Use promice then() to log&amp;nbsp;&lt;/P&gt;&lt;P&gt;app.visualization.get("0258ae15-f0e4-4585-b2ff-2cbd25b7bb44").then(function(vis){&lt;BR /&gt;vis.show("QV01").then(function(){&lt;BR /&gt;console.log(vis);&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to learn then you can surely get online help from below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.udemy.com/user/ajay-kakkar/" target="_blank"&gt;https://www.udemy.com/user/ajay-kakkar/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 May 2020 04:47:05 GMT</pubDate>
    <dc:creator>ajaykakkar93</dc:creator>
    <dc:date>2020-05-10T04:47:05Z</dc:date>
    <item>
      <title>When Can I Reference the Visualization Model Properties?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/When-Can-I-Reference-the-Visualization-Model-Properties/m-p/1696260#M12655</link>
      <description>&lt;P&gt;Creating a visualization through app.visualization.get , is there a way in the javascript code to perform an action once the model properties are populated.&lt;/P&gt;&lt;P&gt;I don't have a lot of experience with the asynchronous nature of javascript&lt;/P&gt;&lt;P&gt;I would just like to log the visualization object to the console at the point in which vis.model.properties will have information. No matter where I stick the command, I can't seem to get it to return. Even in onRendered it is blank&lt;/P&gt;&lt;P&gt;app.visualization.get(visID).then(function(vis){&lt;BR /&gt;visualizations[$this.id] = vis;&lt;BR /&gt;vis.show($this.id, {onRendered: ()=&amp;gt;&lt;BR /&gt;console.log(vis)});&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;However if I wait until everything is loaded and then in the developer tools console, I reference it from my visualizations array it is stored to in line 2 above, the properties are there.&lt;/P&gt;&lt;P&gt;Is there a way to do this through the javascript?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 19:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/When-Can-I-Reference-the-Visualization-Model-Properties/m-p/1696260#M12655</guid>
      <dc:creator>dclark0699</dc:creator>
      <dc:date>2020-04-23T19:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: When Can I Reference the Visualization Model Properties?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/When-Can-I-Reference-the-Visualization-Model-Properties/m-p/1700435#M12760</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/36574"&gt;@dclark0699&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Hope this helps you, Use promice then() to log&amp;nbsp;&lt;/P&gt;&lt;P&gt;app.visualization.get("0258ae15-f0e4-4585-b2ff-2cbd25b7bb44").then(function(vis){&lt;BR /&gt;vis.show("QV01").then(function(){&lt;BR /&gt;console.log(vis);&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to learn then you can surely get online help from below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.udemy.com/user/ajay-kakkar/" target="_blank"&gt;https://www.udemy.com/user/ajay-kakkar/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 04:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/When-Can-I-Reference-the-Visualization-Model-Properties/m-p/1700435#M12760</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2020-05-10T04:47:05Z</dc:date>
    </item>
  </channel>
</rss>

