FORMULA LANGUAGE


@Author
Example

Returns a text list containing the names of the author(s) of the current document.

Syntax

@Author

Return value

authorList


@Author uses the following instructions (in the sequence outlined below) to find document author(s) and return the appropriate text list:

1. Search the document for a field of type Authors. If there is one, return the name(s) stored there. (If there are multiple Authors fields, returns the contents of the first Authors field found in the document.)

2. If there is no Authors field, look for a field called From. If there is a From field, look for the field FromDomain.

3. If there is no From field, look for a field named $UpdatedBy. If there is one, return the contents of the field.

4. If there is no $UpdatedBy field and this is a new document (not yet saved), return the current user's name.

5. If none of the above can be found, return the null string ("").

Usage

@Author is most useful for documents containing an Author Names or From field.

Language cross-reference

FieldGetText method in LotusScript NotesUIDocument class

IsAuthors property in LotusScript NotesItem class

IsAuthors property in Java Item class

Authors property in LotusScript NotesDocument class

Authors property in Java Document class

Example
See Also