ViewName in PicklistCollection

I want to be able to give users a very specific set of documents in a picklist. I thought that a good way to do this would be to create a temporary folder for the user when they perform an action. Then, I could put the highly specific documents in the folder and give the user a picklist showing the folder.

Here is my problem. The notesUIWorkspace.PicklistCollections is not seeing the newly created folder. I am getting the error “Entry is not in design list”

However…

–If I loop through db.views, the new folder is there.

–If I set view = db.getview(newfoldername), I can get a handle to the folder.

It’s just that the NotesUIWorkspace does not see the newly created folder. Is there a way to refresh the design list the NotesUIWorkspace sees?

It’s worth noting that with ws.PicklistCollection, you pass a string with the view’s name not a handle to the view. If you passed a handle to the view, my code would work because I can get a handle to the view.

Thanks.

Subject: ViewName in PicklistCollection

did you check the available methods of the NotesUIWorkspace class in designer help?

Subject: RE: ViewName in PicklistCollection

Thanks for the response.

There is no property or method of a NotesUIWorkspace that will update the design list. Just for fun, I did try reloadwindow, viewrefesh, and viewrebuild. Nothing affected the design list. For some reason, it just doesn’t see the new folder.

Is there some hidden way to update a design list? Like Lsi_info or some other undocumented gem?