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 Needs Review
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Nov 1, 2022

NotesUI class can access that view created by NotesDatabase.CreateView

A new feature was requested to create a new view with the NotesDatabase.CreateView method and immediately use it from the Notes client.

LotusScript cannot open this new view without reopening the database, even after creating a new view with the CreateView method.


For example, the following uiws.PickListStrings also results in an error.

(Delete View1 in Domino Desinger when testing repeatedly.)

(Dim description omitted)

Set db = session.Currentdatabase

Set vw_src = db.GetView("View1")

Set vw_new = db.CreateView("NewView", "SELECT @ALL", vw_src)

Picklist = uiws.PickListStrings(3, True, db.Server, db.FilePath, "NewView", "Test", "Test", 1)


The following uidb.OpenView will result in an error.

Set db = session.Currentdatabase

Set vw_src = db.GetView("View1")

Set vw_new = db.CreateView("NewView", "SELECT @ALL", vw_src)

Set uidb = uiws.CurrentDatabase

Call uidb.OpenView("NewView")


When the Notes client closes that database and reopens it, the new view is available. For example, the following can access the new view you just created.

Set db = session.Currentdatabase

Picklist = uiws.PickListStrings(3, True, db.Server, db.FilePath, "NewView", "Test", "Test", 1)

  • Attach files