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.