Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Partner
Partner

Re: Save and remember the selection

Any suggestions for this scenario?

Please provide some examples.

MVP & Luminary
MVP & Luminary

Re: Save and remember the selection

Isn't this the default behavior in QV11 now? That is, that session state is always remembered (unless you prohibit session recovery or expire temp bookmarks.)

I get this behavior by doing nothing -- no triggers, no special bookmarks.

-Rob

Partner
Partner

Re: Save and remember the selection

Hi Rob, Can u plz elaborate a more in details and example please?

Thanks for efforts!!!

MVP & Luminary
MVP & Luminary

Re: Save and remember the selection

What version of server are you running?

-Rob

Partner
Partner

Re: Save and remember the selection

Hi Rob, Server version might be any of this two:

   Windows Server 2008 x64 Edition

  Windows Server 2008 R2

Now am still developing on desktop mode and my QV version is 11. How can be it be done first on desktop mode?

MVP & Luminary
MVP & Luminary

Re: Save and remember the selection

What I was referring to is the "Session Recovery" available in QV11. I orginally understood it to remember selections only as long as a session was not timed out. but it seems to remember selections across session timeouts and even server restarts. It works just like your original question. When a user opens a document from the server, the last selection state for that user is applied -- it's just like they never left. If you are running V11 on your server, that is the behavior you should be seeing now.

This is not available in the desktop, it's a server only function.

-Rob

View solution in original post

Re: Save and remember the selection

I totally agree with Rob.

If you do it on a server, then it will work right out of the box. And there is never any risk that someone else's selection is used - each user has its own session.

If you want this behavior on a Desktop, you will have to save before you close the document, or create some solution with macros and/or bookmarks.

But I do not understand what problem you are trying to solve. Why would you log off in the first place?

HIC

Partner
Partner

Re: Save and remember the selection

Thank you very much ROB and HENRIC for your detailed explanations.

Hope the requirement works rightly when the app is deployed in the server. If this can't be exactly implemented in Desktop mode, its fine, if its really going to work perfect in server sessions modes.

Henric,

Yes, I may be bit wrong at first about LOG OFF thing. My original query was like this:

The user exactly would not LOG OFF, rather close the Document/Session after selecting something (but without erasing/clear). So that in the next Re-Opening of the document, he would see his last selection made.

I was just curious, if this could be implemented in Desktop mode by any Triggers/Bookmarks/Macros. Any further suggestions?

Luminary
Luminary

Re: Save and remember the selection

Hi,

Just adding one more point on Session Recovery. This feature is "All or Nothing" means it impacts all the users and works across all the documents. So make sure that you really need across everything.

Good luck!

Cheers,

DV

www.QlikShare.com

Not applicable

Re: Save and remember the selection

I have the same issue and gave it a shot without success:

1- Open a browser (tested with IE/Chrome/Firefox)

2- Go the Access Point and open Application X

3- Application X opens on Sheet 1 with no selection

4- Go to Sheet 2 and make a selection

5- Close the browser

6- Reopen the browser and open Application X

7- Application X opens on Sheet 1 with no selection (step 4 has not been saved)


"Allow Session Recovery" is activated so maybe there is configuration to needed at browser level?

######################

Update:

I changed Chrome and Firefox configuration and activated "Show my windows and tabs from last time" when they start. In that case the selections are saved but it seems more related to Chrome/Firefox config than "Allow Session Recovery" option...

IE9 does not have this setting so it does not work.

-jc