I have a document with embedded views. Instead of opening the document from a view to its own tab in a Notes client, I want to open a two pane frameset in its own tab with the document in the top frame and a preview of docs from the embedded view in the bottom pane.
I have unsuccessfully tried the following code first in the view Querydocumentopen event, then in a an agent and then in a library sub called from that event:
Call workspace.OpenFrameSet("DocumentContent")
Call workspace.SetTargetFrame("NotesDocument")
Call workspace.EditDocument(False, doc)
I then tried a three pane frameset with a Page opening in one pane. The view Querydocumentopen event has:
Call workspace.OpenFrameSet("DocumentContent")
While the Page Postopen event has:
Call workspace.SetTargetFrame("NotesDocument")
Call workspace.EditDocument(False, doc)
That worked the FIRST time a document was open. If the frameset is closed before opening a second document, I get “Nonexistent frame of frameset specified.” If I don’t close the frameset and go back to the view to open second document the newest frameset is opened in the “NotesDocument” frame of the previous frameset (not surprisingly).
I suspect this has thought of before and perhaps Notes doesn’t support this. Is that right? Does anyone know of solution method?