Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

AJAX Client remembers previous selection

Hi,

When using the AJAX client in my environment, my server "remembers" the selections that I made last time I used a document and returns to that when opening it again. This is annoying to me and I would like the document to open in a clear state every time. Anyone who knows how to accomplish this?

Thanks,

Magnus

Labels (1)
11 Replies
mjm
Employee
Employee

Hello Magnus,

I believe this is standard behaviour as this happens with all of the Apps which I have on my access point.

If this is something which you would want to avoid, then one possibility would be to have a trigger on the load of the document to clear the current selections. You can do this on each document under Settings > Document Properties > Triggers. Here you can set an onOpen trigger to clear all selections.

HTH Mark

Not applicable
Author

The function you talk about is called session recovery and using a temp bookmark to remember your selections when you are reconnecting. If you not happy with that behavior can it be turned off in the QMC (under system > Qlikview server > document).

The setting is server global and effect all documents and users.

cn_sa_dev
Partner - Contributor III
Partner - Contributor III

Hi,

You can click on "Remove Last Document State" on the AccessPoint each time, but I'm not aware of a general setting for this.

Alternatively you can create a trigger OnOpen with an Action to "Clear All"

Chris

Not applicable
Author

Hi,

This option is already disabled, doesn't seem to make any difference. Perhaps it only affects IE Plugin?

Thanks,

Magnus

Not applicable
Author

No it should be for both the plugin and AJAX.

Not applicable
Author

Hi,

I added the trigger but unfortunately it doesn't help. The last document state is still applied when I open the document again...

I added a "Clear All" trigger in opening.

jerrysvensson
Partner - Specialist II
Partner - Specialist II

OnOpen Trigger doesn't work in Ajax according to the Reference Manual. Version 11

Not applicable
Author

OK, strange. The checkbox "Allow Session Recovery" is unchecked, but the

problem persists...

Magnus

>>> Hampus Andersson <qcwebmaster@qlik.com> 2013-10-31 14:51 >>>

QlikCommunity ( http://community.qlik.com/ )

AJAX Client remembers previous selection

reply from Hampus Andersson (

http://community.qlik.com/people/hao?et=watches.email.thread ) in

Deployment - View the full discussion (

http://community.qlik.com/message/415496?et=watches.email.thread#415496

)

No it should be for both the plugin and AJAX.

Reply to this message by replying to this email, or go to the message

on QlikCommunity (

http://community.qlik.com/message/415496?et=watches.email.thread#415496

)

Start a new discussion in Deployment by email (

mailto:discussions-community-discussion--forums-deployment@qliktech-public.hosted.jivesoftware.com

) or at QlikCommunity (

http://community.qlik.com/choose-container.jspa?contentType=1&containerType=14&container=2072&et=watches.email.thread

)

Following AJAX Client remembers previous selection (

http://community.qlik.com/message/415496?et=watches.email.thread#415496

) in these streams: Inbox

© 1993-2013 QlikTech International AB Copyright & Trademarks (

http://www.qlik.com/us/info/copyright ) | Privacy (

http://www.qlik.com/us/info/privacy ) | Terms of Use (

http://www.qlik.com/us/info/terms-of-use ) | Software EULA (

http://www.qlik.com/us/info/software-eula )

Not applicable
Author

Hi Magnus,

Maybe a bit late reply but I was working on a possible solution for this - the problems I had was I did not want to tinker with the global settings of QMC for session recovery tick as we have a number of applications based in IE and Ajax so did not want to see the unforseen  behaviours it may yield.

What I wanted to achieve was that each the the user opens my App it selects latest MonthYear which is set as a variable. The Onopen trigger worked by but as suggested in this post the Session recovery settings would override this in AJAX (as my application is based) would open last selections user made which may not have been the latest month.

All I did was in On Open trigger document setting added a 'Clear all' action and then selected the onfield selection even to ensure  it landed on correct landing page with the latest month year selected. The Clear all action promotion to top of actions list for On Open event trigger worked for me. Maybe other users have different workaround