LOTUSSCRIPT/COM/OLE CLASSES


PutInFolder method
Example

Adds a document to the specified folder. If the folder does not exist in the document's database, it is created.

Defined in

NotesDocument

Syntax

Call notesDocument.PutInFolder( folderName$ [, createonfail ] )

Parameters

folderName$


createonfail
Usage

If the document is already inside the folder you specify, PutInFolder does nothing. If you specify a path to a folder, and none of the folders exists, the method creates all of them for you. For example:


If neither Vehicles nor Bikes exists, PutInFolder creates both, placing the Bikes folder inside the Vehicles folder.

This method cannot add the first document to a folder that is "Shared, Personal on first use."

Language cross-reference

putInFolder method in Java Document class

@AddToFolder function in formula language

Folder @command in formula language

FolderDocuments @command in formula language

CreateFolder @command in formula language

Example
See Also