JAVA/CORBA CLASSES
Adds a document to a folder. If the folder does not exist, it is created.
Defined in
Document
Syntax
public void putInFolder(String name) throws NotesException
public void putInFolder(String name, boolean createonfail) throws NotesException
Parameters
String name
"Vehicles\\Bikes"
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:
This method cannot add the first document to a folder that is "Shared, Personal on first use."
Language cross-reference
PutInFolder method in LotusScript NotesDocument class
@AddToFolder function in formula language
CreateFolder @command in formula language
Folder @command in formula language
FolderDocuments @command in formula language
Example