By now, we should be familiar with the My Recent Applications function at Maximo 7.6
This stores a list of the previous 8 (by default) applications which the logged-in user has visited. This information persists after we log off and also if we restart the browser.
In this blog entry I want to explore the underlying implementation.
How does it Work?
The answer is something which came as a surprise to me: Local Browser Storage. I had not heard of Local Browser Storage before the question was raised in a PMR. The formal definitions can be found here: http://www.w3.org/TR/webstorage/
Where is the List Stored and how do we Inspect/manage it?
Let's have a look using Chrome (specifically 53.0.2785.143 m on Windows).
I have not chosen Chrome for any special reason. I have not investigated the mechanism in other browsers, however I would assume that they will be broadly similar.
Let's log on to the Maximo 7.6 Preview Site and have a look.
We can find our way here: http://www-01.ibm.com/support/docview.wss?uid=swg21697301. At the time of writing, this points to https://maximo-demo76.mro.com/maximo/webclient/login/login.jsp?welcome=true
This is the first time I have visited the site from this browser, so I see this list:
I click on Administration -> Sets to populate the My Recent Applications list, so we now see:
My Recent Applications has now been populated as expected.
Now to the underlying question: how/where is this stored?
We can answer this partly by hitting F12 in the browser.
This opens a new pane:
Let's click on the twisty next to Local Storage
We can see something has been stored in the browser for the 7.6 Preview Site
Let's click on it to investigate further
We have some Key/Value pairs, one of which is called recentApps
If we visit some more applications, the list in Value for the recentApps Key will be updated.
Where is this Persisted?
If we look in C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Local Storage, we see
The file called https_maximo-demo76.mro.com_0.localstorage contains the list (amongst other things).
So the short answer is "in the local filesystem"
How do we clear the My Recent Applications List?
The best way will be to use the F12 tools as above.
Right Click on the recentApps Key and click Delete
The My Recent Applications list will disappear when the web page is reloaded.
This can also be achieved by closing the browser and deleting the files for this website in C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Local Storage. This may have side-effects, so I would not recommend it.