<?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: Extension not loading JS file in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020288#M4078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try saving the code locally with the extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then reference as ...,"./datamaps.world.min.js",...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 16:22:45 GMT</pubDate>
    <dc:creator>mgranillo</dc:creator>
    <dc:date>2016-04-26T16:22:45Z</dc:date>
    <item>
      <title>Extension not loading JS file</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020287#M4077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a Qlik Sense extension that uses D3.js and &lt;A href="http://datamaps.github.io/" title="http://datamaps.github.io/"&gt;DataMaps.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I try to load the scripts, the one corresponding to datamaps is not loaded.&lt;/P&gt;&lt;P&gt;The error raised is (it is obvious that the js file is not loaded properly):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/122717_error.PNG" style="height: 58px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;However, if I use the same instructions in a HTML file, it works.&lt;/P&gt;&lt;P&gt;My code is the following:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="map.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122716_map.PNG" style="height: 494px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 09:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020287#M4077</guid>
      <dc:creator />
      <dc:date>2016-04-26T09:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extension not loading JS file</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020288#M4078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try saving the code locally with the extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then reference as ...,"./datamaps.world.min.js",...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020288#M4078</guid>
      <dc:creator>mgranillo</dc:creator>
      <dc:date>2016-04-26T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extension not loading JS file</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020289#M4079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;I haven't tested this, but you could try to change on line 35 to new Datamap, since datamaps seems to define window.Datamap, but perhaps does not return a requirejs module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that you do not create the element with the 'container_'... id, you need to add that to $element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-not-loading-JS-file/m-p/1020289#M4079</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2016-04-29T07:53:14Z</dc:date>
    </item>
  </channel>
</rss>

