Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_chan
Specialist
Specialist

Keep current selection between mashup page

Hi All,

I have a mashup with multiple pages. Noticed that the current selection are not preserve when navigate to a page to another.

Understand from earlier discussion, identity should be used and No anonymous user.

Unfortunately, i still having problem to keep selection between mashup pages even set identity and no anonymous user.

Below are the screenshot, would need help to advice if there any go wrong and if i need to perform additional configuration to preserve selection.

Thanks,

Boon Haw

1 Solution

Accepted Solutions
ErikWetterberg

Hi,

Why are you using identity? Identity should be used when you want to have separate sessions, so not the same current selections. Try removing it and see if that helps.

Erik

View solution in original post

8 Replies
ErikWetterberg

Hi,

Why are you using identity? Identity should be used when you want to have separate sessions, so not the same current selections. Try removing it and see if that helps.

Erik

jim_chan
Specialist
Specialist
Author

Hi Erik,

I set identity based on the disucssion.

QS mashups and preserving selections

There is no luck. the current selection still cant be preserve after i eliminate the identity.

Attached is the .js script, would need your help to take look if there got error.

Thanks,

Boon Haw

jim_chan
Specialist
Specialist
Author

Hi All,

Really appreciate if anyones can help on this.

Thanks,

Boon Haw

Anonymous
Not applicable

Hi Jim, have you solved the problem?

I meet the same problem: selection can not be kept among different mashup pages.

I notice if I keep Qlik sense dev-hub open, the selection could be kept among different mashup pages.

I also notice if I open all the mashup pages, the selection could be kept among different mashup pages.

However, is there a technical solution to keep selection among different mashup pages?

Any suggestion is appreciated!

Aiham_Azmeh
Employee
Employee

Hi Haikuo,

The real issue with multipage-mashup is actually the reloading part, when the websocket actually get closed and opened again.


The best solution for you will be to have a single page application => this way you will be able to keep the session and the user's selections.

If this is not an option for you; instead of opening the new pages in the same tab, just open then in a new tab for example with <a href="my_new_html_page.html" target="_blank">click me</a>


There are several threads discussing similar issues:

Multipage Mashup - keep selections between html pages?

QS mashups and preserving selections


hope this helps,

regards


Anonymous
Not applicable

Hi Aiham, thanks for your help!

I add ( target="_blank" ) in the hype link tag. When I navigate to other mashup pages, the selection could be kept now.

There are still two other problems in my mashup pages.

1): selections made by user A will affect the selection of user B. Actually user B will see the same what user A is selecting/doing on the mashup page. As the mashup page will be integrated into a web for public access. The users will not have Qlik server access account. Is there a solution that selections made by user A will NOT affect the selection of user B?

2): There is US state map on the mashup page, the map color/legend is state name dimension. The problem is that it is very slow to load the map when the mashup was published at Amazon Web Services (AWS) or public web. Is there any method to increase the map loading speed?

Any suggestion is appreciated!

Anonymous
Not applicable

Hi Aiham, thanks for your help!

I need put the mashup page into a web template. If I use target="_blank", it will open a new page, and the new opened page can not be kept in the web template.

I tried to use target="_self", but it can not keep the selection when I navigate among mashup pages.

I tried to put multi mashup HTML pages into one HTML page and use CSS to hide/display different mashup page. The selection could be kept now, however, the page loading becomes slow when I show different mashup page in the single HTML file.

Any suggestion is appreciated!

Anonymous
Not applicable

Hi past it below code on your place in mashup

<div id="CurrentSelections" class="qvobjects" style="position:relative; top:0; left:0; width:100%; height:35px; z-index:1010;"> </div>