<?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 Mashup CurrentSelections  Object not working properly in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635855#M11580</link>
    <description>&lt;P&gt;I took a look if it closes the old websocket this happens when i do app.close(); so that works fine.&lt;BR /&gt;Then it creates a new websocket when i open a new app with qlik.openApp(id); that works fine also.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="websocket.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21645iFF111B261DF74464/image-size/medium?v=v2&amp;amp;px=400" role="button" title="websocket.PNG" alt="websocket.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also to give everyone some more info how the process go now a bit more details: (I know some parts i already said)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Process:&lt;/STRONG&gt;&lt;BR /&gt;When i navigate to a other app i check if a app connection exist if it exist then i close it with app.close().&lt;BR /&gt;Then i connect a new app with qlik.openApp(id).&lt;BR /&gt;Then before i grab the new objects i close the old objects with obj.close() with a forEach loop. (This is possible because&amp;nbsp; when i grab the objects i push them into a array)&amp;nbsp;&lt;BR /&gt;Then i grab the new objects with app.getObject(placeholder, id) and push them into the objectArray so i can close them later.&lt;BR /&gt;&lt;BR /&gt;When i navigate from the first app to the second one and even third one. As long as its a app that i open for the first time, the App dimensions are filled when i press the Selections button.(Marked with red arrow)&lt;BR /&gt;&lt;BR /&gt;But when i go back to a app that i opened before the App dimensions are empty&amp;nbsp; when i press the Selections button.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Empty with button.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21646i6A640545D8310C02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Empty with button.PNG" alt="Empty with button.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I readed that the current selections object works bit different then other objects.&lt;BR /&gt;Im happy already that i got pointed to the websocket i forgot about that but that seems to work normal.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pascal&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Update&lt;BR /&gt;I remove the app.close() call and then the App dimensions seems to work like normal when i switch back to the app, but thing is wont this be a problem? since i keep a connection always open to the App.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 15:01:40 GMT</pubDate>
    <dc:creator>Pascal</dc:creator>
    <dc:date>2019-10-16T15:01:40Z</dc:date>
    <item>
      <title>Qlik Sense Mashup CurrentSelections  Object not working properly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635470#M11571</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;My mashup contains a navigation that allows me to switch apps(dashboards) and pages.&lt;BR /&gt;When i go to the mashup it opens with a default app and page. On the page i load several objects, one of them is the CurrentSelections object. It works like it should.&lt;BR /&gt;&lt;BR /&gt;Then i navigate to a other app(dashboard) in the code the app will be closed and the new one will be loaded. The CurrentSelections object also works like it should.&lt;BR /&gt;&lt;BR /&gt;But as soon as i go back to the first app or a other app that is already loaded once. The content in the selections isn't working/showing up anymore. (The screen with the Selections and App dimensions functionality).&lt;BR /&gt;&lt;BR /&gt;Like i said above every time when i switch app it gets closed and a new connection will be created. Also all the objects and layout will be loaded again. So its fresh like i went to the app if its the first time.&lt;BR /&gt;&lt;BR /&gt;Somebody has a idea why this happens, and maby has a solution?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pascal&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635470#M11571</guid>
      <dc:creator>Pascal</dc:creator>
      <dc:date>2024-11-16T04:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Mashup CurrentSelections  Object not working properly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635520#M11572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A new socket is. Opened when you switch your application via api&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635520#M11572</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2019-10-15T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Mashup CurrentSelections  Object not working properly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635559#M11573</link>
      <description>Hi thanks for the reply, so what you mean is that when i switch by some reason the old socket still exist even when i did app.close. I will check it out asap when im back at work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pascal&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2019 16:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635559#M11573</guid>
      <dc:creator>Pascal</dc:creator>
      <dc:date>2019-10-15T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Mashup CurrentSelections  Object not working properly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635855#M11580</link>
      <description>&lt;P&gt;I took a look if it closes the old websocket this happens when i do app.close(); so that works fine.&lt;BR /&gt;Then it creates a new websocket when i open a new app with qlik.openApp(id); that works fine also.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="websocket.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21645iFF111B261DF74464/image-size/medium?v=v2&amp;amp;px=400" role="button" title="websocket.PNG" alt="websocket.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also to give everyone some more info how the process go now a bit more details: (I know some parts i already said)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Process:&lt;/STRONG&gt;&lt;BR /&gt;When i navigate to a other app i check if a app connection exist if it exist then i close it with app.close().&lt;BR /&gt;Then i connect a new app with qlik.openApp(id).&lt;BR /&gt;Then before i grab the new objects i close the old objects with obj.close() with a forEach loop. (This is possible because&amp;nbsp; when i grab the objects i push them into a array)&amp;nbsp;&lt;BR /&gt;Then i grab the new objects with app.getObject(placeholder, id) and push them into the objectArray so i can close them later.&lt;BR /&gt;&lt;BR /&gt;When i navigate from the first app to the second one and even third one. As long as its a app that i open for the first time, the App dimensions are filled when i press the Selections button.(Marked with red arrow)&lt;BR /&gt;&lt;BR /&gt;But when i go back to a app that i opened before the App dimensions are empty&amp;nbsp; when i press the Selections button.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Empty with button.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21646i6A640545D8310C02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Empty with button.PNG" alt="Empty with button.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I readed that the current selections object works bit different then other objects.&lt;BR /&gt;Im happy already that i got pointed to the websocket i forgot about that but that seems to work normal.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pascal&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Update&lt;BR /&gt;I remove the app.close() call and then the App dimensions seems to work like normal when i switch back to the app, but thing is wont this be a problem? since i keep a connection always open to the App.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Mashup-CurrentSelections-Object-not-working-properly/m-p/1635855#M11580</guid>
      <dc:creator>Pascal</dc:creator>
      <dc:date>2019-10-16T15:01:40Z</dc:date>
    </item>
  </channel>
</rss>

