<?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 Trouble adding a graph in Mash-Up in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Trouble-adding-a-graph-in-Mash-Up/m-p/1202047#M6109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am following the tutorial created by Qlik on Youtube and I am having trouble adding the graph on Mash-Up via the code he provides in the video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be specific and I am talking about this part:&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/OzzsynxIUMM?t=310" style="font-size: 10pt; line-height: 1.5em;" title="https://youtu.be/OzzsynxIUMM?t=310"&gt;https://youtu.be/OzzsynxIUMM?t=310&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14779386218385603 jive_text_macro" jivemacro_uid="_14779386218385603" modifiedtitle="true"&gt;
&lt;P&gt;&amp;lt;!doctype html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Qlik Sense: Mashup&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta charset="utf-8"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="HandheldFriendly" content="True"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="MobileOptimized" content="320"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-capable" content="yes"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-status-bar-style" content="black"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="cleartype" content="on"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--Add host to these 3 links if the mashup is on another webserver than qlik sense static content--&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="https://community.qlik.com/resources/autogenerated/qlikui.css"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="https://community.qlik.com/resources/assets/client/client.css" media="all"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="delete4.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;body style="overflow:auto"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;div id="myDiv" style="width: 600px; height= 300px;" class="qvobject" data-qvid="HTFthp"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my HTML code ^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vv This is my JS code&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_14779386927509569" jivemacro_uid="_14779386927509569"&gt;
&lt;P&gt;/*global require, alert*/&lt;/P&gt;
&lt;P&gt;/*&lt;/P&gt;
&lt;P&gt; * &lt;/P&gt;
&lt;P&gt; * @owner Enter you name here (xxx)&lt;/P&gt;
&lt;P&gt; */&lt;/P&gt;
&lt;P&gt;/*&lt;/P&gt;
&lt;P&gt; *&amp;nbsp;&amp;nbsp;&amp;nbsp; Fill in host and port for Qlik engine&lt;/P&gt;
&lt;P&gt; */&lt;/P&gt;
&lt;P&gt;var config = {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; host: window.location.hostname,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; prefix: "/",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; port: window.location.port,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; isSecure: window.location.protocol === "https:"&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;require.config( {&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 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;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;require( ["js/qlik"], function ( qlik ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; qlik.setOnError( function ( error ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; alert( error.message );&lt;/P&gt;
&lt;P&gt;&amp;nbsp; } );&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //callbacks -- inserted here --&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //open apps -- inserted here --&lt;/P&gt;
&lt;P&gt;&amp;nbsp; var app = qlik.openApp('Redesigning dashboard.qvf', config);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //get objects -- inserted here --&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; app.getObject('CurrentSelections','CurrentSelections')});&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //create cubes and lists -- inserted here --&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;} );&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I did not touch the JS code, but it does look different when he shows his JS code. The author of the video doesn't mention anywhere in the video on what code to put there and that it just automatically pops in there. I tried also writing the code he has in his JS code, but that did not also work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 18:32:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-31T18:32:54Z</dc:date>
    <item>
      <title>Trouble adding a graph in Mash-Up</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Trouble-adding-a-graph-in-Mash-Up/m-p/1202047#M6109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am following the tutorial created by Qlik on Youtube and I am having trouble adding the graph on Mash-Up via the code he provides in the video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be specific and I am talking about this part:&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/OzzsynxIUMM?t=310" style="font-size: 10pt; line-height: 1.5em;" title="https://youtu.be/OzzsynxIUMM?t=310"&gt;https://youtu.be/OzzsynxIUMM?t=310&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14779386218385603 jive_text_macro" jivemacro_uid="_14779386218385603" modifiedtitle="true"&gt;
&lt;P&gt;&amp;lt;!doctype html&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Qlik Sense: Mashup&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta charset="utf-8"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="HandheldFriendly" content="True"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="MobileOptimized" content="320"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-capable" content="yes"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-status-bar-style" content="black"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="cleartype" content="on"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--Add host to these 3 links if the mashup is on another webserver than qlik sense static content--&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="https://community.qlik.com/resources/autogenerated/qlikui.css"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="https://community.qlik.com/resources/assets/client/client.css" media="all"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="delete4.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;body style="overflow:auto"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;div id="myDiv" style="width: 600px; height= 300px;" class="qvobject" data-qvid="HTFthp"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my HTML code ^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vv This is my JS code&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_14779386927509569" jivemacro_uid="_14779386927509569"&gt;
&lt;P&gt;/*global require, alert*/&lt;/P&gt;
&lt;P&gt;/*&lt;/P&gt;
&lt;P&gt; * &lt;/P&gt;
&lt;P&gt; * @owner Enter you name here (xxx)&lt;/P&gt;
&lt;P&gt; */&lt;/P&gt;
&lt;P&gt;/*&lt;/P&gt;
&lt;P&gt; *&amp;nbsp;&amp;nbsp;&amp;nbsp; Fill in host and port for Qlik engine&lt;/P&gt;
&lt;P&gt; */&lt;/P&gt;
&lt;P&gt;var config = {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; host: window.location.hostname,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; prefix: "/",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; port: window.location.port,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; isSecure: window.location.protocol === "https:"&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;require.config( {&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 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;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;require( ["js/qlik"], function ( qlik ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; qlik.setOnError( function ( error ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; alert( error.message );&lt;/P&gt;
&lt;P&gt;&amp;nbsp; } );&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //callbacks -- inserted here --&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //open apps -- inserted here --&lt;/P&gt;
&lt;P&gt;&amp;nbsp; var app = qlik.openApp('Redesigning dashboard.qvf', config);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //get objects -- inserted here --&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; app.getObject('CurrentSelections','CurrentSelections')});&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //create cubes and lists -- inserted here --&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;} );&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I did not touch the JS code, but it does look different when he shows his JS code. The author of the video doesn't mention anywhere in the video on what code to put there and that it just automatically pops in there. I tried also writing the code he has in his JS code, but that did not also work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Trouble-adding-a-graph-in-Mash-Up/m-p/1202047#M6109</guid>
      <dc:creator />
      <dc:date>2016-10-31T18:32:54Z</dc:date>
    </item>
  </channel>
</rss>

