Default Folder

I’ve be stumped at how this can be achieved.

In the PostSave event of a NotesDocument we call the ws.Folder method to encourage users to file their documents into a folder. Of course they can choose to cancel this.

What we want to do is if they do cancel then the document is to be placed in a Unfiled Folder.

I can’t see anyway of doing this. Checking for the $FolderRef does not seem to work as the $FolderRed fields do not appear on the document straight away.

Any ideas would be muchly appreciated.

ta

Nigel mahoney

Subject: Default Folder

Why do you need to check for FolderRef? Check for the Cancel value of the prompt (or whatever method you’re using.) If they’ve cancelled, then do a PutInFolder to your Unfiled folder.

Subject: RE: Default Folder

IBM knows why but the ws.Folder method does not return a value so you can not check to see if cancelled was clicked. Thanks for the suggestion anyway.