<?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: Visualization API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Visualization-API/m-p/1064366#M4564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check that you are using the right version of Qlik Sense, you need 2.2 for the Visualization API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 10:59:27 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2016-03-24T10:59:27Z</dc:date>
    <item>
      <title>Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Visualization-API/m-p/1064365#M4563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use the &lt;SPAN style="font-size: 10pt; color: #0f0f0f; line-height: 1.5em;"&gt;Visualization API in an mashup and I get the following error;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"TypeError: Cannot read property 'create' of undefined(…)" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the app object doesn't contain any visualization object. Does anyone know why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to followed the documentasion&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/APIs/Content/VisualizationAPI/VisualizationAPI.htm" title="http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/APIs/Content/VisualizationAPI/VisualizationAPI.htm"&gt;Visualization API ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;This is the code;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;self = this;var config = {host: "xxxxx.xxxxx.se",&lt;/P&gt;&lt;P&gt;//prefix: "/",&lt;/P&gt;&lt;P&gt;prefix: "/tds/",&lt;/P&gt;&lt;P&gt;port: 443,&lt;/P&gt;&lt;P&gt;isSecure: true};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;require.config({baseUrl: ( config.isSecure ? "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;" ) + config.host + (config.port ? ":" + config.port: "") + config.prefix + "resources"});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require(["js/qlik"], function ( qlik ) {qlik.setOnError( function ( error ) {alert( error.message );});&lt;/P&gt;&lt;P&gt;var app = qlik.openApp('8d211ba9-1088-478d-a636-7b6b6cd770f6', config);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;app.visualization.create('barchart',["Account ID","=Count([Account ID])"], //problem here &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{title:"On the fly barchart"}&lt;/P&gt;&lt;P&gt;).then(function(vis){&lt;/P&gt;&lt;P&gt;vis.show("QV04");&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 09:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Visualization-API/m-p/1064365#M4563</guid>
      <dc:creator />
      <dc:date>2016-03-24T09:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Visualization-API/m-p/1064366#M4564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check that you are using the right version of Qlik Sense, you need 2.2 for the Visualization API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 10:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Visualization-API/m-p/1064366#M4564</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2016-03-24T10:59:27Z</dc:date>
    </item>
  </channel>
</rss>

