This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Sep 28, 2018, 6:18 PM
4 Posts

Here's the code I'm using

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: dialogbox,picklist
  • Replies: 4

I'm opening the Dialogbox using the Queryopendocument event of a view.

Dim doc as NotesDocument
Dim ws as New NotesUIWorkspace
Set doc = Source.Documents.GetFirstDocument()
If not doc is Nothing then
  Call ws.Dialogbox("Item", True, True, True, False, False, False, "My Item", doc, True, True, True)
End If
'Set Continue to false to prohibit opening of the document
Continue = False

The dialogbox opens fine and displays the data. Now, on the dialogbox form there is a button to open a Picklist so I can pick a different item. I want my selection to populate the ItemName field on the dialogbox.

Here's the code for the button.

sContent:=@PickList( [Custom]:[Single] ; "" ; "ProductLookup" ; "Product Selector" ; "Select a product from the list"; 4);
@SetField("ItemName";"sContent")

The problem is, when I click the button on the dialogbox and the picklist pops open, the underlying dialogbox closes.

Oct 8, 2018, 11:00 AM
107 Posts
Hmm. Your code does work for me.
My apologies for being late to respond...

I tested your code and it seems to work fine for me. I.e., the selected [double-clicked] document opens in a dialog box as expected. Clicking the button on the dialog box opens a picklist without closing the dialog box.


I'm using Notes version 9.0.1 FP9 SHF123 on a Win10 Pro x64 box (all updates installed).

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal