Frame Magic in Lotus Notes/Domino R5.x and ND6.x
madicon.de/Tipps & Tricks/Frame Magic in Lotus Notes/Domino R5.x and ND6.x

Frame Magic in Lotus Notes/Domino R5.x and ND6.x

You may be familiar with the following problem — a bit of "frame magic" will help:
I have a frameset with two frames. The left frame is used to navigate via an outline, and the content is displayed in the right frame. As long as I navigate via the outline, everything works fine. But: as soon as a view is selected through the menu entry "View / Go To", or when searching for the next unread document and that document is not in the current view but in another one, the view is no longer displayed in the right frame — instead, a new window is opened.
The selected view does appear in the right frame of that new window, but in the left navigation frame my outline (with its background image) disappears, and instead the names of the visible views and folders are listed.
Long story short: How can I make sure that views are always displayed in the assigned right frame?
Source: Someone asking — name no longer known.
 

Solution for R5.x


Apparently there are two "hard-coded" names in Notes for naming frames:
Left frame (navigation):
NotesNavigator (was irrelevant in some versions)
Right frame (content to be displayed: views, pages, etc.)
NotesView (must be written exactly like this)
 

Extension for ND6.x


This "magic" is apparently no longer sufficient for versions from 6.x on. The following extension provides a remedy:
You need to embed the frameset used in R5.x into an additional frameset that contains only a single frame. When you create a new frameset, you have to (there's no way around it) initially define at least two frames. As soon as the new frameset is displayed in the Designer client, you can, however, delete the superfluous frame.
In the last step, set the originally used frameset as the content of the newly created frameset (or rather the frame inside it). You do not need to use any special names for the newly created frameset or the new frame. The extension for ND6.x should also have no "harmful side effects" when used under R5.x…
Remember to set the new frameset in the database launch properties!
 

A few more interesting observations…


R5.x

Try opening a view in a (magic-less) R5 database and then click the SmartIcon "search next unread document". Assuming that an unread document still exists in another view, a new window will open in the client — with the magic applied, it no longer does.

ND6.x

If you run the above R5 test under ND6, a new window will also open without the "double magic". If you then close the windows of the application in the order in which they were opened (i.e. first the "main frame" window and then the newly opened window), the entire frameset will be destroyed.
Yes, when the database is later reopened, the right area remains empty and gray. You will then have to open the frameset with the Designer client and save it again.
 

While we're on the subject of reserved names


If you name a frame NotesPreview, you can implement a document preview that is permanently available in the Notes client.
Create another, empty frame below the "Content" frame on the right and name it accordingly. That's all there is to it…
 

Amazon Affiliate Link
notion image