<?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: Mashup in External Server with RequireJs [load require-config.js] in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118490#M5136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you project, I'll try to implement your solution in my application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2016 14:37:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-31T14:37:01Z</dc:date>
    <item>
      <title>Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118485#M5131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello every body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have few difficulties with RequireJs to embed a Qlik Sense Mashup in an web application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the 3.0 version of Qlik Sense, and&amp;nbsp; I've create a simple mashup to embed it in an dashboard page of a Java J2EE web app.&lt;/P&gt;&lt;P&gt;So I followed the tutorials and I've implemented the code generated by the Mashup Editor in my web app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here started my problems... My web app already include RequireJs (Version 2.20) &lt;SPAN style="font-size: 13.3333px;"&gt;with Bower&lt;/SPAN&gt;, mainly for angular modules loading, so I use this version to configure and require the qlik files :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;//Configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;require.&lt;SPAN style="color: #3366ff;"&gt;config&lt;/SPAN&gt;({&lt;/P&gt;&lt;P&gt;&amp;nbsp; baseUrl: &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://[serverName]:443/resources" rel="nofollow" target="_blank"&gt;https://[serverName]:443/resources&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 13.3333px;"&gt;//Load Qlik files&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;require([&lt;SPAN style="color: #0000ff;"&gt;'js/qlik'&lt;/SPAN&gt;]) &lt;SPAN style="color: #993366;"&gt;function&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;qlik&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; console.log(&lt;SPAN style="color: #993300;"&gt;qlik&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;})&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the qlik objet return by '&lt;SPAN style="font-size: 13.3333px;"&gt;require([&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #0000ff;"&gt;'js/qlik'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]) ' is &lt;STRONG&gt;undefined&lt;/STRONG&gt; and I've got this error : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;STRONG&gt;GET https:[serverName]/resources/assets/general/require-config.js 404 (Not Found)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;I've try to include the requireJs file used by the Qlik server which much more bigger than the offical version available online, it seems to work fine for qlik modules but all the other modules&amp;nbsp; load crash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By curiosity I've try to include another version of requireJs (from a CDN) in the HTML page generated by the Mashupe creator and I've got the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you encounter same problems with mashup implementation and RequireJs ?&lt;/P&gt;&lt;P&gt;Is it a known bug in Qlik Sense 3.0 or an error in my configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adavance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 08:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118485#M5131</guid>
      <dc:creator />
      <dc:date>2016-08-31T08:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118486#M5132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;The requirejs file included with Qlik Sense actually includes a lot more than requirejs, so you have to use it to make your mashup work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 11:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118486#M5132</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2016-08-31T11:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118487#M5133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project, RequireJs is included via a repository bower to be sure to have an official version.&lt;/P&gt;&lt;P&gt;With the Qlik version, I have inclusion error with other modules I need in my web app, so I cant' replace my Requirejs version with the Qlik version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 12:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118487#M5133</guid>
      <dc:creator />
      <dc:date>2016-08-31T12:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118488#M5134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea, as Erik pointed out, the Qlik requirejs file is actually much more than requirejs. You should be able to use it in place of your current requirejs file though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out my mashup boilerplate where I make use of require's context&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/fkabinoff/qlik-lars" title="https://github.com/fkabinoff/qlik-lars"&gt;GitHub - fkabinoff/qlik-lars: Qlik Sense Mashup Template&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the files most pertinent to you - &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/fkabinoff/qlik-lars/blob/master/main.js" title="https://github.com/fkabinoff/qlik-lars/blob/master/main.js"&gt;qlik-lars/main.js at master · fkabinoff/qlik-lars · GitHub&lt;/A&gt;‌ - loads qlik.js with it's baseUrl, then requires my require project&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/fkabinoff/qlik-lars/blob/master/app/app.js" title="https://github.com/fkabinoff/qlik-lars/blob/master/app/app.js"&gt;qlik-lars/app.js at master · fkabinoff/qlik-lars · GitHub &lt;/A&gt;‌- my require project entry point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 12:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118488#M5134</guid>
      <dc:creator>Francis_Kabinoff</dc:creator>
      <dc:date>2016-08-31T12:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118489#M5135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure your inclusion errors aren't related to the baseUrl, and not the require version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 13:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118489#M5135</guid>
      <dc:creator>Francis_Kabinoff</dc:creator>
      <dc:date>2016-08-31T13:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118490#M5136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you project, I'll try to implement your solution in my application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 14:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118490#M5136</guid>
      <dc:creator />
      <dc:date>2016-08-31T14:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118491#M5137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing your project, but in your Angular project, you do not include AngularJs source file, you use the Qlik version.&lt;/P&gt;&lt;P&gt;In my web app we also use AngularJs with many differents modules and we need to keep controle on wich version of AngularJs is runing on the project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the solution I choose is &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;to put my mashup in an iframe to isolate it from my web application, so I can easily implement the mashup in my app without conflict problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118491#M5137</guid>
      <dc:creator />
      <dc:date>2016-09-01T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118492#M5138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem. As mentioned by Erik, requirejs provided by qlik is actually a combined js with all modules. You should use that instead of the official version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For us qlik is running on separate doaim. I am using&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As suggested here &lt;A href="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/Mashups/Content/Howtos/mashups-load-external-internal-modules.htm"&gt;https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/Mashups/Content/Howtos/mashups-load-external-internal-modules.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script token" style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;&lt;SPAN class="token tag" style="color: blue;"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;&amp;lt;&lt;/SPAN&gt;script&lt;/SPAN&gt; &lt;SPAN class="attr-name token" style="color: #b22222;"&gt;data-main&lt;/SPAN&gt;&lt;SPAN class="attr-value token" style="color: #b22222;"&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;"&lt;/SPAN&gt;script&lt;SPAN class="token punctuation" style="color: #999999;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token" style="color: #b22222;"&gt;src&lt;/SPAN&gt;&lt;SPAN class="attr-value token" style="color: #b22222;"&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://qlikserver/proxy" rel="nofollow" target="_blank"&gt;https://qlikserver/proxy&lt;/A&gt;&lt;/SPAN&gt;/resources/js/external/requirejs/require.js&lt;SPAN class="token punctuation" style="color: #999999;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag" style="color: blue;"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;&amp;lt;/&lt;/SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script token" style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;&lt;SPAN class="token tag" style="color: blue;"&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And in the script.js I have defined my modules.&amp;nbsp; when I follow this I get 404 error for &lt;STRONG&gt;apis/qlik-impl.js &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lately I added qlik definition in my require module as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require&lt;/P&gt;&lt;P&gt;&amp;nbsp; .config({&lt;/P&gt;&lt;P&gt;&amp;nbsp; paths : {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "jQuery" :"jquery-1.11.0.min",&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "qlik" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://qlikserver/proxy/resources/js/qlik" rel="nofollow" target="_blank"&gt;https://qlikserver/proxy/resources/js/qlik&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I don't get any error but getting some authentication error from qlik server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly If I user previous version of qlik.js ( prior to 3.0) , which is downloaded to my app server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;require&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; .config({&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; paths : {&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; "jQuery" :"jquery-1.11.0.min",&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; "qlik" : "qlik",&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;});&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Everything works...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am also trying to figure out what is causing this problem,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;-Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 11:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118492#M5138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T11:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup in External Server with RequireJs [load require-config.js]</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118493#M5139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I followed the project shared by Francis and it all worked great. You need to make sure that you are loading the js synchronously. Don't use data-min instead use script tags to load require js provided by qlik first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure your local require config is defined as separate context and also before your config&amp;nbsp; the baseurl of main require js should be set to the qlik sense server path (qliksense/proxy/resources/)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-in-External-Server-with-RequireJs-load-require-config-js/m-p/1118493#M5139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-21T09:31:56Z</dc:date>
    </item>
  </channel>
</rss>

