@AddToFolder (Formula Language)
Adds current document to one folder while removing it from another. NULL string can be substituted for either argument to skip the action.
Syntax
@AddToFolder(foldernameadd ; foldernameremove)
Parameters
foldernameadd
Text. Name of the folder the document will be added to.
foldernameremove
Text. Name of the folder the document will be removed from.
Usage
This formula can be used in toolbar button and agent formulas.
@Command([Folder]; Foldername; MoveOrCopy) works just like @AddToFolder except it moves a document from the current folder.
Examples
- This example adds the currently selected document to the folder
named Work.
@AddToFolder("Work";"") - This example adds the currently selected document to the folder
named Work and removes it from the folder named Favorites.
@AddToFolder("Work";"Favorites")
Language cross-reference
Folder method in LotusScript® NotesUIWorkspace class
PutInFolder method in LotusScript NotesDocument class
putInFolder method in Java™ Document class
RemoveFromFolder method in LotusScript NotesDocument class
removeFromFolder method in Java Document class