PutAllInFolder (NotesViewEntryCollection - LotusScript®)

Adds the documents associated with all the entries in the view collection to the specified folder. If the folder does not exist, it is created.

Defined in

NotesViewEntryCollection

Syntax

Call notesViewEntryCollection .PutAllInFolder( foldername$ [, createonfail ] )

Parameters

foldername$

String. The name of the folder in which to place the documents. The folder may be personal if the script is running on the workstation. If the folder is within another folder, specify a path to it, separating folder names with backward slashes, for example, "Vehicles\Bikes".

createonfail

Boolean. Optional. Specify True so that a folder will be created if it does not exist.

Usage

If a document is already inside the folder you specify, PutAllInFolder does nothing for that document. If you specify a path to a folder, and none of the folders exist, the method creates all of them for you.

Example