Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Clear last viewed state

Hello,

Is it possible to change this behavior.  QV Server seems to "remember" the last viewed state.  So when I

re-open the app, it puts me back to the last known state.  Is there a way to disable this and set a default state

to always open the first tab/sheet of the app?

Thanks

12 Replies
trdandamudi
Master II
Master II

See if the below link is helpful:

Removing Last Document State | Qlik Community

trdandamudi
Master II
Master II

One way is to have a trigger on open like below screen shot:

Anonymous
Not applicable
Author

I forgot to mention in my original post that I do have a trigger -> OnOpen to activate my first sheet.

But when I re-opened the app, it put in sheet2 because that was the last sheet I was in just right before

I closed the browser.  Is there something else I need to handle?

trdandamudi
Master II
Master II

May be below link should help...

Force "Remove last document state" for all users

Anonymous
Not applicable
Author

I didn't see a solution in the link you provided in above.  In addition, some of the threads talked about

making configuration changes on the QV server which is not what I want.  Thanks for sharing the link.

Anonymous
Not applicable
Author

Looking at my code again, I actually have the following:

1. Settings -> Document Properties -> OnOpen -> Activate Sheet (sheet1)

2. On "Sheet1", I have Trigger -> Run Macro -> Clear All (in sub routine).

But it still doesn't produce the behavior I want.

trdandamudi
Master II
Master II

We don't use Macros...

Instead of Macro, did you tried the way I mentioned above (Where Clear all as First step ) ?

Anonymous
Not applicable
Author

Are you suggesting to do under Document Properties?

1. Clear All

2. Activate Sheet1

trdandamudi
Master II
Master II

Yes.. Please.