<?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: Trouble with integration of external javascript library in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658927#M1241121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the error when I started from scratch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 05:56:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-30T05:56:01Z</dc:date>
    <item>
      <title>Trouble with integration of external javascript library</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658925#M1241116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to the world of extensions and as a first test (after I've gone through the tutorials) I'm trying to integrate an external .js library but it says the object is not defined. In detail: The library is called three.js - which outputs 3d elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what my first test should display: &lt;/P&gt;&lt;P&gt;&lt;A href="http://jsfiddle.net/Q7DLQ/" target="_blank"&gt;http://jsfiddle.net/Q7DLQ/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Little excerpt:&lt;/P&gt;&lt;P&gt;function ThreeJS() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var camera, scene, renderer;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var geometry, material, mesh;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; init();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; animate();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function init() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; camera = new &lt;STRONG&gt;THREE&lt;/STRONG&gt;.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 1, 10000); // &lt;STRONG&gt;Error: Three is not defined.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; camera.position.z = 1000;&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;P&gt;Please note the attached zip-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What have I done wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658925#M1241116</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with integration of external javascript library</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658926#M1241119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, when I add Qv.AddExtension(extensionPath + "three.min.js"); to the Init_JS_Frameworks() function the above error disappears but then I get the &lt;STRONG&gt;prototype undefined&lt;/STRONG&gt; error. I use QV 11SR6 + IE 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone add above sample code to a working example so that I can see that it actually works?&lt;/P&gt;&lt;P&gt;BTW: all files are in the main folder - now subfolders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 06:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658926#M1241119</guid>
      <dc:creator />
      <dc:date>2014-09-24T06:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with integration of external javascript library</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658927#M1241121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the error when I started from scratch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 05:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-integration-of-external-javascript-library/m-p/658927#M1241121</guid>
      <dc:creator />
      <dc:date>2014-09-30T05:56:01Z</dc:date>
    </item>
  </channel>
</rss>

