TIP/SOL'N: Embedded Outline not displaying, Frame blank, $POID

I just spent a few hours trying to figure this out, so if this can save you a little headache, great!

PROBLEM:

  • If I accessed a Mail Db hosted on a R6 server using an R7 client, the embedded outline in the left-frame would not display at all. I initially thought it was the entire left-frame that was blank/empty but no, it was just the embedded outline in the left-frame. If I accessed the same Db using an R6 client, I could see the outline in all its glory.

  • If I created a local Db from the template using an R7 client, the embedded outline displayed.

WORK AROUND: Don’t access that server Db using an R7 Notes client!

POSSIBLE SOLUTION #1: In poking around in the design, I noticed there was a mismatch on that outline between the date/time in the $POID field and the Last Modified date/time stamp that you see in Designer. All of the other Outlines had either $POID = Last Modified or NO $POID field at all.

I deleted the offending Outline from the Template & refreshed it from a server Template where it seemed to have a $POID = Last Modified. If you’re not that lucky, I suppose you could write something to delete the $POID field.

Example code uses the NoteID of the design element:

Sub Initialize

Dim s As New NotesSession

Dim db As NotesDatabase

Dim doc As NotesDocument

Dim sTitle As String

Const ITEM_TITLE = “$Title”

Const ITEM_POID = “$POID”

Set db = s.CurrentDatabase

Set doc = db.GetDocumentByID( “CFE” )

If doc.HasItem( ITEM_TITLE ) Then

sTitle = doc.GetItemValue( ITEM_TITLE )(0)

End If

If sTitle = “NotesMailOutline” Then

If doc.HasItem( ITEM_POID ) Then

  Call doc.RemoveItem( ITEM_POID )

  Call doc.Save( True, False )

End If

End If

End Sub

POSSIBLE SOLUTION #2: The above worked for some but not all of the Dbs inheriting from the template. One of the Dbs reverted back to the missing outline a day or so later. I recut the template from the production server, redid the mods I needed to make to other design elements & left the outline as-is. After refreshing the design of the Db using the new version of the template, it now appears to be okay (even days later). This Db had a very large # of docs in its Inbox initially, now reduced significantly; I’m not sure if that played a role. Perhaps the template became corrupt, or there was something off in my Notes client.