<?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 requiring js/qlik from server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/requiring-js-qlik-from-server/m-p/1362443#M825501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ive just successfully got the qlik authentication working with a custom login and home page.&lt;/P&gt;&lt;P&gt;This is the code I'm using and the error I get is at the bottom of the page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: I found this line in the Qlik Playground website tutorial "&lt;SPAN style="color: #595959; font-family: proxima-nova, arial, sans-serif; font-size: 14px;"&gt;This example assumes you are already authenticated or have allowed anonymous access to your Qlik Sense instance." (&lt;/SPAN&gt;&lt;A href="http://playground.qlik.com/learn/capability/connecting" style="font-size: 10pt;" title="http://playground.qlik.com/learn/capability/connecting" target="_blank"&gt;Qlik Playground)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So out of curiosity I allowed anonymous access and I still cant load the resources. &lt;/P&gt;&lt;P&gt;Do I have to generate them first or will the dependencies be available by default anyway?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; host: "ip-address",&lt;/P&gt;&lt;P&gt;&amp;nbsp; prefix: "/dev-test/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; port: "443",&lt;/P&gt;&lt;P&gt;&amp;nbsp; isSecure: true&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; var url = (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;&amp;nbsp; var app;&lt;/P&gt;&lt;P&gt;&amp;nbsp; require.config({baseUrl: url});&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; // this is always null at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp; console.log(qlik);&lt;/P&gt;&lt;P&gt;&amp;nbsp; //app = qlik.openApp('2435bc6b-b2fa-4992-9b6e-93d0bea90faf', config);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;?proxyRestUri=https%3a%2f%server%3a4243%2fqps%2fdev-test%2f&amp;amp;targetId=b868f075-0501-4f43-b3e…:1 Uncaught SyntaxError: Unexpected token &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>requiring js/qlik from server</title>
      <link>https://community.qlik.com/t5/QlikView/requiring-js-qlik-from-server/m-p/1362443#M825501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ive just successfully got the qlik authentication working with a custom login and home page.&lt;/P&gt;&lt;P&gt;This is the code I'm using and the error I get is at the bottom of the page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: I found this line in the Qlik Playground website tutorial "&lt;SPAN style="color: #595959; font-family: proxima-nova, arial, sans-serif; font-size: 14px;"&gt;This example assumes you are already authenticated or have allowed anonymous access to your Qlik Sense instance." (&lt;/SPAN&gt;&lt;A href="http://playground.qlik.com/learn/capability/connecting" style="font-size: 10pt;" title="http://playground.qlik.com/learn/capability/connecting" target="_blank"&gt;Qlik Playground)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So out of curiosity I allowed anonymous access and I still cant load the resources. &lt;/P&gt;&lt;P&gt;Do I have to generate them first or will the dependencies be available by default anyway?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; host: "ip-address",&lt;/P&gt;&lt;P&gt;&amp;nbsp; prefix: "/dev-test/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; port: "443",&lt;/P&gt;&lt;P&gt;&amp;nbsp; isSecure: true&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; var url = (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;&amp;nbsp; var app;&lt;/P&gt;&lt;P&gt;&amp;nbsp; require.config({baseUrl: url});&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; // this is always null at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp; console.log(qlik);&lt;/P&gt;&lt;P&gt;&amp;nbsp; //app = qlik.openApp('2435bc6b-b2fa-4992-9b6e-93d0bea90faf', config);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;?proxyRestUri=https%3a%2f%server%3a4243%2fqps%2fdev-test%2f&amp;amp;targetId=b868f075-0501-4f43-b3e…:1 Uncaught SyntaxError: Unexpected token &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/requiring-js-qlik-from-server/m-p/1362443#M825501</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: requiring js/qlik from server</title>
      <link>https://community.qlik.com/t5/QlikView/requiring-js-qlik-from-server/m-p/1362444#M825502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you solve this issue, even I am facing the same issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 09:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/requiring-js-qlik-from-server/m-p/1362444#M825502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T09:22:03Z</dc:date>
    </item>
  </channel>
</rss>

