<?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: Extension to Auto Launch Mashup from Hub in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214382#M6252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also want that all users of Qliksense may access apps &lt;STRONG&gt;and&lt;/STRONG&gt; mashups through the hub. Did you find a way to open a mashup from the hub?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Apr 2017 11:59:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-21T11:59:15Z</dc:date>
    <item>
      <title>Extension to Auto Launch Mashup from Hub</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214381#M6251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have knocked up a rough &amp;amp; ready extension to auto open a url, for the use case of being able to auto open a Mashup from the Hub - see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a console.log in it displaying &lt;EM&gt;layout.myproperties&lt;/EM&gt; from which one can see the counter &lt;EM&gt;bmCounter&lt;/EM&gt; being incremented 3 times.&amp;nbsp; So that implies to me that the javascript is run 3 times when the sheet containing the extension is opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why it is running 3 times ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions in general would be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 10:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214381#M6251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-23T10:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extension to Auto Launch Mashup from Hub</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214382#M6252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also want that all users of Qliksense may access apps &lt;STRONG&gt;and&lt;/STRONG&gt; mashups through the hub. Did you find a way to open a mashup from the hub?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 11:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214382#M6252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-21T11:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extension to Auto Launch Mashup from Hub</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214383#M6253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;I think this one would be hard to solve. Even if you can make an extension that opens a mashup, still the hub opens the App Overview, where extensions are not loaded, so it would only happen when you open a sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a page where your users can open both apps and mashup you probably need to go the other way around: write a mashup that is capable of both opening apps in the built-in client and mashups. That should not be difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to write an extension that shows a button to open a mashup. I'm sure that has been done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fact that your extension runs three times looks strange. I have tried to things, but none of them worked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;adding an empty resize function to the extension, since the default implementation of resize is to call paint. No effect: these are not resize calls&lt;/LI&gt;&lt;LI&gt;removing the update of the layout structure(moved the counter to a variable instead) in the paint method: you are not supposed to do that, the layout structure is in principle read-only and your changes might be lost when the object is reevaluated: no effect, still three calls&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To me this (the three calls) looks like a bug, though I don't think Qlik promises anything about the number of times paint will be called (only that it will be called when a repaint is needed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Apr 2017 07:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-to-Auto-Launch-Mashup-from-Hub/m-p/1214383#M6253</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-04-22T07:14:50Z</dc:date>
    </item>
  </channel>
</rss>

