Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Assessment
Workspace Domino Designer
Categories Documentation
Created by Guest
Created on May 22, 2024

Undocumented parameter NotesUIWorkspace.SetTargetFrame("_blank")

I struggled with the usage of SetTargetFrame. I opened a document in the left frame in a frameset with two frames. Then I opened a second document in the right frame in the same frameset using

Call uiws.SetTargetFrame("Frame2")

Afterwards, several other functionalities that use NotesUIWorkspace.EditDocument to open other documents caused errors or even crashed Notes. These functionalities worked before I added the new frameset.

The solution was to

Call uiws.SetTargetFrame("_blank")

where the parameter "_blank" is not in the product documentation. It is only documented that no frame should be called "_blank":

I did not expect that the focus was still on "Frame2" when processing the code in a totally different action button.

Long story short: Please update the product documentation by clarifying that SetTargetFrame permanently sets focus to a frame and that you can remove that focus by using the parameter "_blank".

  • Attach files