FORMULA LANGUAGE


@HardDeleteDocument
In an agent that runs a formula, @HardDeleteDocument permanently removes the document currently being processed from the database if the database has soft deletions enabled. If the database does not have soft deletions enabled, @HardDeleteDocument performs the same action as @DeleteDocument.

Note This function is new with Release 5.0.1.

Syntax

@HardDeleteDocument

Usage

This function is intended only for use in agents that run formulas; it has no effect when run elsewhere.

To mark a document for deletion from an icon, view, or form action, use @Command[EditClear].

To soft delete a document, use @DeleteDocument.

To create an agent that deletes documents from a database without using a formula, use the Simple action "Delete from Database."

You cannot use this @function in Web applications.

Language cross-reference

Delete Document URL command

DeleteDocument method of LotusScript NotesUIDocument class

RemovePermanently method of LotusScript NotesDocument class

removePermanently method of Java Document class

See Also