Qlik Community

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

How to reconnect in QS mashup

Hi all,

I created a mashup and intergrated with my mobile. 

 When I click the mobile button, then call java to get a ticket, then skip to the mashup page . But when  I  click the iphone home button ,then the mashup will run in the backgroud. when I reopen the mashup page , then connection lost.

So my clients want to make it reconnect. So how to achieve this goal?


Labels (1)
1 Reply

Unfortunately, with the capability API's, you can't keep a session, each time you lose your connection, a reconnect is needed and a new websocket is created -> new session.

(not sure if this is possible but...) You maybe able to listen to window.on('focus blur', ...) and try to reconnect.