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

Seeking sample scripts for Domino Designer projects

I am a student. I am now doing my final year project based on domino designer. This is basically like a search engine and it will be able to search through all the documents in a database based on some particular search criteria. Right now what I am doing is I use the scripts that search the view including all the documents created and match with the search criteria. If any, the script will put the documents into a folder. But what I want is to show the results to the user. I have been trying about two weeks but I have no ideas. If you could give me some programming flow (or) some sample scripts, that might help. I am also a new user of domino designer.

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim j As Integer
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim collection As NotesDocumentCollection
Set db = session.CurrentDatabase
Set uidoc = workspace.CurrentDocument
Set view = db.GetView( "All view" )
j = view.FTSearch( uidoc.FieldGetText( "Customer" ), 10 ) 'And view.FTSearch( uidoc.FieldGetText( "Technology" ), 10 )
Set doc = view.GetFirstDocument
For i = 1 To j

I'm not completely sure that I understand exactly what you want to do... But if it's to display the folder containing the documents that matched the search criteria there are numerous ways to accomplish this. My solution assumes that you are trying to do this in the Notes client... One way you could do this is to use the OpenDatabase method of the NotesUIWorkspace class at the end of your script to open the folder, like so:
Call workspace.OpenDatabase(db.CurrentServer , db.FilePath, strFolderName )

Dig Deeper on Lotus Domino Designer

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • 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 ...