Notes/Domino Fix List
SPR # WAN489P6TFixed in 5.0.6 release



Product Area: Server Technical Area: LotusScript Platform: Cross Platform

SPR# WAN489P6T - Provided a fix to allow NotesUIDocument.EditDocument() to honor a target frame set by SetTargetFrame.
Technote Number: 1084874

Problem:
This issue has been reported to Lotus Quality Engineering and has been
addressed in Notes 5.0.6.

Excerpt from the Lotus Notes and Domino Release 5.0.6 QMr fix list (available
at http://www.notes.net):

SPR# WAN489P6T - Provided a fix to allow NotesUIDocument.EditDocument() to
honor a target frame set by SetTargetFrame.

For versions prior to 5.0.6, the SetTargetFrame method does work correctly (as
documented) for the following methods:

OpenFrameSet
OpenPage
OpenView
ComposeDocument

This issue also occurs when you use the @SetTargetFrame function followed by
either the EditDocument method or the Compose @Command. This issue will occur
only in cases where the frameset the target frame resides in is not already
opened or has not been opened using OpenFrameSet @Command.

Example:

You have a frame "Left" that resides in the frameset "Main." If you do not
have the frameset Main open when you execute the following formula, the
document opens in a new window.

@SetTargetFrame("Left");
@Command([EditDocument]; 1)

If you cannot be certain that the frameset Main will be open, you may wish to
rewrite the formula as shown below. This formula opens the frameset Main, and
the document is then opened in the Left frame and in edit mode.

@Command([OpenFrameSet]; "Main");
@SetTargetFrame("Left");
@Command([EditDocument]; 1)Supporting Information:

Excerpt from the online Help:

SetTargetFrame method


Allows you to specify a target frame when opening a view, page, or frameset, or
when composing or editing a document. This method supports the function.
Note This method is new with Release 5.
Defined in

Syntax
Call notesUIWorkspace.SetTargetFrame( frame$ )
Parameters
frame$
String. The name of the frame that a view, page, frameset, or document should
open into. You could also specify a path to the nested frame.
Usage
Use SetTargetFrame method before opening the view, page, or frameset, or before
composing or editing a document. The following methods will use the frame
specified in the SetTargetFrame method:





Related Documents:

Using @SetTargetFrame or SetTargetFrame Method with _self and _parent
Document #: 176305

Opening Views in Target Frames from Outline Using Notes R5 Client Opens Entire
Db in New Window
Document #: 178317

Using @SetTargetFrame Causes Notes R5 to Crash with Red Box Error
Document #: 172608
More >



Last Modified on 01/21/2005

Go back