1
votes

I am doing lotus notes customized search using form to give them to choose different criteria to choose upon.

when they hit the search button I am building search string and doing db.search, now I have done code like it would put all the collection of notes document to shared, private on first use folder and below is the code.

Call doccoll.putallinfolder("SearchResult")

But this gives me error that can not be accessed, please note that default is sent to Manager in the databse and has access to create private and SPOU view as well.

Please help me what has been gone wrong here.

1

1 Answers

1
votes

The private instance of a SPOFU folder does not exist until the user opens it with the client for the first time. Before that point, only the shared instance exists, but that only contains the design; you can't put documents into the shared instance. The putAllInFolder method will not create the shared instance for you, but I believe that the NotesDatabase.EnableFolder method will, so try calling that first.