<?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 How can i include other require modules other than js/qlik? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-i-include-other-require-modules-other-than-js-qlik/m-p/75650#M1060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i am new to QLIK and im trying to build a web app with qlik sense content from a remote QLIK SERVER. I included Require JS in my html header like this in MY HTML like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808080;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;script&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #ce9178;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:4848/resources/assets/external/requirejs/require.js" rel="nofollow" target="_blank"&gt;http://localhost:4848/resources/assets/external/requirejs/require.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in my javascript i included the require confuguration like:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;require.&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;config&lt;/SPAN&gt;({&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; baseUrl:...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Then im able to invoke methods from the ROOT API through &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;require([&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;'js/qlik'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;]) &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;qlik&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) {}). Until here everything is fine, but now i wanted to try qlik-auth, for that i installed in my machine the node.js module qlik-auth (npm i qlik-auth). The problem is, wherever i try to include QLIK auth (through var x = require['qlik-auth']) i always get an error that saying Module name has not been loaded yet for context. I also tried to include other modules, the result is the same! &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you provide some help on this subject?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Apr 2018 18:09:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-21T18:09:58Z</dc:date>
    <item>
      <title>How can i include other require modules other than js/qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-i-include-other-require-modules-other-than-js-qlik/m-p/75650#M1060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i am new to QLIK and im trying to build a web app with qlik sense content from a remote QLIK SERVER. I included Require JS in my html header like this in MY HTML like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808080;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;script&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #ce9178;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:4848/resources/assets/external/requirejs/require.js" rel="nofollow" target="_blank"&gt;http://localhost:4848/resources/assets/external/requirejs/require.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in my javascript i included the require confuguration like:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;require.&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;config&lt;/SPAN&gt;({&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; baseUrl:...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Then im able to invoke methods from the ROOT API through &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;require([&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;'js/qlik'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;]) &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;qlik&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) {}). Until here everything is fine, but now i wanted to try qlik-auth, for that i installed in my machine the node.js module qlik-auth (npm i qlik-auth). The problem is, wherever i try to include QLIK auth (through var x = require['qlik-auth']) i always get an error that saying Module name has not been loaded yet for context. I also tried to include other modules, the result is the same! &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you provide some help on this subject?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 18:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-i-include-other-require-modules-other-than-js-qlik/m-p/75650#M1060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-21T18:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can i include other require modules other than js/qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-i-include-other-require-modules-other-than-js-qlik/m-p/75651#M1061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/braathen/qlik-auth"&gt;qlik-auth&lt;/A&gt; is a Nodejs module so it's meant to be included in a serverside service, not in the browser. What do you want to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 07:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-i-include-other-require-modules-other-than-js-qlik/m-p/75651#M1061</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-04-22T07:25:46Z</dc:date>
    </item>
  </channel>
</rss>

