Q
Problem solve Get help with specific problems with your technologies, process and projects.

Dialog box to look up names in addressbook

I want to create a dialog box where the user is able to give some names and the script looks for the names in the official address book. I already have the form for the dialog box, but I want to use it in a view with an action-button. The dialog box should pop up, the user fills in the names, and the script fills the names in the chosen documents. Thanks for your help.

Not too difficult a task, but too much code for me to write in a simple answer. Here it is, basically...

Grab a NotesUIWorkspace Object,
Get a NotesDocumentCollection that represents the docs
     That the user has selected in your view
Bring up your DialogBox and your form,
When you pass the argument from that form back
     to your script, open names.nsf on the current
     server and perform either NotesDatabase.Search
     or keyword get(s) to create a NotesDocumentCollection.
Create an Array from the NotesDocumentCollection.
Use StampALL METHOD TO ADD THE NEW ARRAY TO THE
ORIGINAL COLLECTION 

This was last published in January 2002

Dig Deeper on Lotus Notes Domino Administration Tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close