It's all about the answers!

Ask a question

How to clear Recently Viewed lists

Antoinette Iacobo (650712) | asked Feb 06 '14, 10:07 a.m.
 We want to clear the "Recently Viewed" list of artifacts because new users find it confusing and it can include those they have recently deleted.  

This article seems to imply that it's stored in the db so I'm thinking there is a qm/admin or jts/admin Advanced Properties setting, but I can't find one:
"Recently Viewed history persists between browser sessions, and across browsers, so you can get to recent resources quickly without effort – powered by the new history service with storage on the JTS. You can have up to ten items in the Recently Viewed and Unsaved Work sections of the menus. This allows you to easily navigate between artifacts without giving up any real estate in the main user interface..."

We've tried clearing the browser cache, and upon re-login, the current list is gone but an old list of others remains.  

Tried clearing the server cache, but the old list is still there.  So if they are in the db, that would make sense.  

Does anyone know how to clear this list completely? 

And if there is a way to limit it from the default of 10 maximum (looks like 4.0.6 will have 20)?

Jared Burns commented Feb 07 '14, 6:36 p.m.

What is the bigger problem for your users? The fact that they can navigate to their recently used artifacts or the fact that the "recently used" list includes items that have been deleted? 

Kevin Ramer commented Feb 11 '14, 2:41 p.m.

One problem I see (and reported) is that between the work item history and query history the menu doesn't display properly and as such the desired entity cannot be navigated

Antoinette Iacobo commented Feb 11 '14, 5:53 p.m.

Jared, the bigger problem was that it included items that had been deleted.  They have a lot of new users and they found it confusing that deleted items were showing in the list.  They are not on a version yet where they can take advantage of "permanent delete".  Also, the list was longer than they liked. 

Antoinette Iacobo commented Feb 18 '14, 10:09 a.m.

A comment that in our testing, we could not get the list to disappear.  A setting of 0 or 1 resulted in a list of 1.  
- the default setting of 30 for the background task resulted in Recently Viewed List of 10
- setting of 10 resulted in a List of 4

- setting of 0 or 1 resulted in List of 1

Accepted answer

permanent link
Paul Slauenwhite (8.4k12) | answered Feb 07 '14, 8:22 a.m.
Hi Toni,

There isn't a UI gesture to clear the Recently Viewed list.  However, you may want to consider the the Advanced Property:

Number of resource markers per type for each user
The maximum number of resource marker items per type for each user that should be saved in storage. The scrub task will delete old resource marker entries if the number of markers for a type exceeds this number when the task executes.

Note, the underlying asynchronous task only runs every hour.
Antoinette Iacobo selected this answer as the correct answer

Paul Slauenwhite commented May 15 '15, 2:07 p.m.

Note: The Advanced Property was removed in 4.0.6 (see Address multiple issues with Markers/ViewHistoryService (288052)).

Your answer

Register or to post your answer.