Reviewed in the KAI meeting today:
Decision was as follows:
First of all, there are two contexts we are referring to here where a document is opened:
1) A "pop-up" context
2) A "same-window" context
The pop-up context happens when a window gets popped up by clicking on a link, or when clicking on a document link in an email.
For these cases the following decision was made: When the close button is clicked it should close the window/tab instead of returning to the portal
For the same-window context, this is the case where someone clicks on a document from action list, document search, etc. and it opens in the same-window.
For these cases, the following decision was made: When the close button is clicked it should return to the page it was on prior to the document being opened (this will usually be the action list or document search)
In order to facilitate this, we may need to pass information to the document url that identifies the calling context (the kns would then decide what to do with this). Additionally, we will probably need to maintain some sort of "return stack" within the KNS session to determine where to return to when the document is closed...this could also be used to implement breadcrumbs at some point in the future