<?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 error after upgrade to September 2017 release in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424224#M8875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm allowing users to save URLs which contain the bookmark id, e.g&amp;nbsp; .......?bookmark=b27fe925-267e-4e1e-a55c-98eea4c83063,&amp;nbsp; and then each time the page is opened I check for a bookmark in the URL and, if found,&amp;nbsp; apply it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2017 10:24:40 GMT</pubDate>
    <dc:creator>rbartley</dc:creator>
    <dc:date>2017-12-19T10:24:40Z</dc:date>
    <item>
      <title>Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424216#M8867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After upgrading our QAP server to the September 2017 release (and even after applying Patch 1 and Patch 2), I am receiving errors in my mashup, while the copy on the pre-September 2017 release works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is "TypeError; Cannot read property 'applyBookmark' of undefined'.&amp;nbsp; At first I though that this was due to the app.bookmark.apply method returning asynchronously, so I used $.when().done, but I still receive the error.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15136148962541819" jivemacro_uid="_15136148962541819" modifiedtitle="true"&gt;
&lt;P&gt;var strBookMark= strPageURL.substring(9,strPageURL.length);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; console.log('strBookmark',strBookMark);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; console.log('app=',app);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; var promiseBookMark = app.bookmark.apply( strBookMark );&lt;/P&gt;
&lt;P&gt;&amp;nbsp; $.when(promiseBookMark).done( &lt;/P&gt;
&lt;P&gt;&amp;nbsp; function(strSuccess)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; console.log('strSuccess',strSuccess);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bookmark Error.PNG" class="jive-image image-1" src="/legacyfs/online/187387_Bookmark Error.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 16:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424216#M8867</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2017-12-18T16:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424217#M8868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you reported that to Qlik support? Sounds like a bug.&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>Mon, 18 Dec 2017 19:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424217#M8868</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-12-18T19:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424218#M8869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/178329"&gt;rbartley&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to me like the app model hasn't been loaded yet, try:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15136732268279586 jive_text_macro" jivemacro_uid="_15136732268279586" modifiedtitle="true"&gt;
&lt;P&gt;app.waitForOpen.promise.then(()=&amp;gt;{&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; &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;app.bookmark.apply( strBookMark );&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[...]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, Erik is right, it looks like a bug, we will investigate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;aiham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 08:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424218#M8869</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2017-12-19T08:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424219#M8870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aiham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; I added the code in your snippet, but this also generates an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cannot read property 'then' of undefined, but I can see that the app has been defined when I write it out to the console and the model appears to have been loaded too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bookmark Error2.PNG" class="jive-image image-1" src="/legacyfs/online/187487_Bookmark Error2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 09:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424219#M8870</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2017-12-19T09:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424220#M8871</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 reply.&amp;nbsp; This seems rather odd.&amp;nbsp; I have responded to Aiham's reply below which, unfortunately, hasn't resolved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 09:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424220#M8871</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2017-12-19T09:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424221#M8872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Perhaps app.&lt;STRONG&gt;model&lt;/STRONG&gt;.waitForOpen.then( or &lt;SPAN style="font-size: 13.3333px;"&gt;app.&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;model&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.waitForOpen.promise.then( would work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Erik&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 10:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424221#M8872</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-12-19T10:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424222#M8873</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;Bingo!&amp;nbsp; The second option worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;app.model.waitForOpen.promise.then(()=&amp;gt;{....}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why this might be behaving in a different way from all previous versions?&amp;nbsp; Is it pure coincidence that I haven't encountered this before or is it likely that the model has changed with the new releases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 10:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424222#M8873</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2017-12-19T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424223#M8874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's a bug, some change somewhere has broken this and nobody has noticed before release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you applying a bookmark programatically immediately when then app is opened? If this happened when a user clicked something you would probably have to be fast to reproduce the error.&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>Tue, 19 Dec 2017 10:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424223#M8874</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-12-19T10:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424224#M8875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm allowing users to save URLs which contain the bookmark id, e.g&amp;nbsp; .......?bookmark=b27fe925-267e-4e1e-a55c-98eea4c83063,&amp;nbsp; and then each time the page is opened I check for a bookmark in the URL and, if found,&amp;nbsp; apply it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 10:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424224#M8875</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2017-12-19T10:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424225#M8876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact, I noticed that the version of IE we have installed does not seem to recognise the ES6 arrow function, so replaced &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;app.model.waitForOpen.promise.then(()=&amp;gt;{....});&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;app.model.waitForOpen.promise.then(function(){...});&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a link to some information on arrow functions in case anyone finds it useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions" style="font-size: 10pt;" title="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions"&gt;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 17:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424225#M8876</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2017-12-19T17:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424226#M8877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This bug has already been fixed in the November release, unfortunately, it didn't make it in September patch 2 release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424226#M8877</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2018-01-05T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup error after upgrade to September 2017 release</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424227#M8878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aiham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for letting me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-error-after-upgrade-to-September-2017-release/m-p/1424227#M8878</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2018-01-05T13:28:41Z</dc:date>
    </item>
  </channel>
</rss>

