Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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.
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
Hi,
This option is already disabled, doesn't seem to make any difference. Perhaps it only affects IE Plugin?
Thanks,
Magnus
No it should be for both the plugin and AJAX.
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.
OnOpen Trigger doesn't work in Ajax according to the Reference Manual. Version 11
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 )
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