Qlik Community

Ask a Question

Integration, Extension & APIs

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

Announcements
QlikWorld Online 2021, May 10-12: Our Free, Virtual, Global Event REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Rolando_Montero
Partner
Partner

Keep Filter Selecction between iframes

Hi everyone,

I have some tabs in which I have embedded two iframes, both are sheets from a Qlik Sense app. However, if I make a selection in the first one, the filter does not replicate to the next iframe.  Is there any way to keep the selections along the iframes just like a regular Qlik Sense app?

 

Example with one selection made.

Rolando_Montero_0-1611008211239.png

iframe number two does not have any filter applied.

Rolando_Montero_1-1611008240705.png

 

Kindest regards

 

 

 

Labels (2)
6 Replies
Damien_Villaret
Support
Support

Hello,

When you move to a different tab/page, the session will be interrupted and selections lost.

You need to enable and increase TTL time in the Engine settings.ini config so that it is able to reattach the session to the existing one.

[Settings 7]
EnableTTL=1
SessionTTL=30

https://community.qlik.com/t5/Support-Knowledge-Base/Adjusting-the-Qlik-Sense-Engine-TTL/ta-p/171381...

 

Please also see the following KB for more best practices when using iFrame/mashups

https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-for-Windows-All-you-need-to-know-to-...

Rolando_Montero
Partner
Partner
Author

Hi Damien,

 

I changed the file you mentioned, but unfortunately, the problem remains. Is there anything I can try to fix this?

 

Best regards and thanks for the reply 

Damien_Villaret
Support
Support

Hi @Rolando_Montero 

Did you make sure to have a blank line at the end of the file as mentioned in this article?
https://community.qlik.com/t5/Knowledge-Base/How-to-modify-Qlik-Sense-Engine-s-Settings-ini/ta-p/171...

Rolando_Montero
Partner
Partner
Author

Hi again!

 

Yes, I did, I left the blank line at the end of the file. Just to make sure, I am going to do it again.

 

Thanks!

Rolando_Montero
Partner
Partner
Author

Hi Daniel,

The customer gave me  the direct link to the web page they are working on and if I use Safari on a Mac the selections remain even if I move from one tab to another (there are two tabs only); However, if I use Chrome, the selections remain on one iFrame only and are not kept in the second iFrame,

Damien_Villaret
Support
Support

Hello @Rolando_Montero 

Do you see "SESSION_ATTACHED" in the browser devtools as stated in https://community.qlik.com/t5/Knowledge-Base/Adjusting-the-Qlik-Sense-Engine-TTL/ta-p/1713815 ?
That would confirm if TTL got enabled correctly.
Also, are you sure that the TTL setting is not getting overwritten by some URL parameters ?


I am not too familiar how Safari handles moves between pages, it could be it doesn't kill the tab immediately.
If the session is still alive in some way in the browser (opened in different browser tab) or a tab not terminated by the browser yet, then it will reattach it by default and keep selections.