<?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: September 2017: qlik.getAppList() triggers &amp;quot;connection lost&amp;quot; in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387416#M8328</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;Unfortunately I'm still getting the error message after adding config as a parameter. This seems like a bug to me so I guess I'm going to report it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check if anyone else experiences this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2017 12:52:08 GMT</pubDate>
    <dc:creator>m_s</dc:creator>
    <dc:date>2017-09-21T12:52:08Z</dc:date>
    <item>
      <title>September 2017: qlik.getAppList() triggers "connection lost"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387414#M8326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a small issue after upgrading from June 2017 Patch 2 to September 2017 Release. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After calling qlik.getAppList()-function a message box telling me "connection lost" is displayed (message is in german):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="session.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177268_session.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I used the following code to trigger this error (note that you can work around it by using &lt;STRONG&gt;app.global.getAppList()&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15059843566939242 jive_text_macro" jivemacro_uid="_15059843566939242" modifiedtitle="true"&gt;
&lt;P&gt;var currentApp = qlik.openApp('f057c3a3-ed0f-411c-ba70-4b986175cef1', config);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// this is working just fine&lt;/P&gt;
&lt;P&gt;currentApp.global.getAppList(function(apps) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // comment out the next line to prevent the error message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qlik.getAppList(function(a) { });&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone else have the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 09:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387414#M8326</guid>
      <dc:creator>m_s</dc:creator>
      <dc:date>2017-09-21T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: September 2017: qlik.getAppList() triggers "connection lost"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387415#M8327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried qlik.getAppList(function(a){}, &lt;STRONG&gt;config&lt;/STRONG&gt;) ?? I think the APIs might try to figure out server etc from your URL if you do not provide a config. That might work, but in many cases not.&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 Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 09:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387415#M8327</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-09-21T09:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: September 2017: qlik.getAppList() triggers "connection lost"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387416#M8328</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;Unfortunately I'm still getting the error message after adding config as a parameter. This seems like a bug to me so I guess I'm going to report it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check if anyone else experiences this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 12:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387416#M8328</guid>
      <dc:creator>m_s</dc:creator>
      <dc:date>2017-09-21T12:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: September 2017: qlik.getAppList() triggers "connection lost"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387417#M8329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having this exact issue with an extension at the moment. Same problem, the connection lost message. Did you happen to resolve or work around this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 02:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387417#M8329</guid>
      <dc:creator>Rey</dc:creator>
      <dc:date>2017-12-13T02:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: September 2017: qlik.getAppList() triggers "connection lost"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387418#M8330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked and this error is still present in November 2017 Patch 1. The workaround is to call the getAppList()-method on the global instance: &lt;STRONG&gt;qlik.getGlobal().getAppList(callback)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you probably need to modify the extension, maybe override the qlik.getAppList() -function like:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15131553504354423 jive_text_macro" jivemacro_uid="_15131553504354423" modifiedtitle="true"&gt;
&lt;P&gt;require(['js/qlik' ], function(qlik){&lt;/P&gt;
&lt;P&gt;&amp;nbsp; qlik.getAppList = function(callback){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return qlik.getGlobal().getAppList(callback);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // working now&lt;/P&gt;
&lt;P&gt;&amp;nbsp; qlik.getAppList(function(apps){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(apps);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; })&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or just replace every &lt;STRONG&gt;qlik.getAppList&lt;/STRONG&gt; with &lt;STRONG&gt;qlik.getGlobal().getAppList.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 08:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/September-2017-qlik-getAppList-triggers-quot-connection-lost/m-p/1387418#M8330</guid>
      <dc:creator>m_s</dc:creator>
      <dc:date>2017-12-13T08:59:14Z</dc:date>
    </item>
  </channel>
</rss>

