<?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: Qlik Sense integration in web app in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194873#M6009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I had to set require.config baseurl to qlik server before my own require context config. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Oct 2016 07:14:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-15T07:14:38Z</dc:date>
    <item>
      <title>Qlik Sense integration in web app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194869#M6005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to integrate qlik sense into our web application. I am having trouble with require js set up. Our application usage requirejs internally and defines the local modules in our main js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlik sense and our web app are installed on separate sub domains.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;We have one entry for require using data-min as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &amp;lt;script type="text/javascript" data-main="main" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikurl/proxy/resources/assets/external/requirejs/require.js" rel="nofollow" target="_blank"&gt;http://qlikurl/proxy/resources/assets/external/requirejs/require.js&lt;/A&gt;&lt;SPAN&gt;" &amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since requirejs provided by qlik sense has few other modules embedded so we are using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when we trying to load qlik js using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require([ "js/qlik" ], function(qlik) {});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting errors. Sometime it tries to load local resources from qlik sense server. Its behavior is sporadic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand now there are two base url one for loading qlik sense resources and one from our local app. I tried different ways to initialize require but nothing works , specially after version 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to know how people are using it.&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>Thu, 13 Oct 2016 10:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194869#M6005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T10:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense integration in web app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194870#M6006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your script file make sure you define require.config with a correct basepath pointing to the server.&lt;/P&gt;&lt;P&gt;If you already have require on the page then I guess that could cause trouble loading via the data-main attribute, try placing a reference to your code in a script tag after the require script tag, won't load async but it's something to try to isolate the problem at least &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 18:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194870#M6006</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-10-13T18:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense integration in web app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194871#M6007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check out how I do it here&lt;/P&gt;&lt;P&gt;&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;I set a different context for my own stuff. The only issue I've run into is if I try to get an object with an extension within my code, which has the custom context. This may not even be a problem for you, but you could get around it I'm pretty certain by just registering any extensions you may be using in the default context. &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/registerExtension-method.htm" title="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/registerExtension-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/registerExtension-method.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 19:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194871#M6007</guid>
      <dc:creator>Francis_Kabinoff</dc:creator>
      <dc:date>2016-10-13T19:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense integration in web app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194872#M6008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Francis for your comments.&lt;/P&gt;&lt;P&gt;As you suggested I created different require context for my own js. I loaded qlik js from qlik sense server.&lt;/P&gt;&lt;P&gt;Now I am getting 404 for &lt;STRONG&gt;assets/general/require-config.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is defined inside qlik.js , I am not sure why require is trying to fetch this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Vishal&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194872#M6008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-14T10:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense integration in web app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194873#M6009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I had to set require.config baseurl to qlik server before my own require context config. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 07:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-integration-in-web-app/m-p/1194873#M6009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-15T07:14:38Z</dc:date>
    </item>
  </channel>
</rss>

