Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






@AbstractSimple

Creates a short abstract of a text or rich text field. Simpler and more efficient than using @Abstract.

Note This @function is new with Release 8.

Syntax

@AbstractSimple( bodyFields )

Parameters

bodyFields

Text or text list. Any number of fields containing the text to abstract. May be text or rich text fields. If Notes/Domino cannot locate a field by name, it uses the string literal instead. Enclose each field name in quotes and separate multiple names with colons: "Sales":"Figures".

Caution Rich text fields are not part of a document until saved. If you want @AbstractSimple to work on additions and changes to the current document, you must first save and then recalculate the document.

Return value

abstractedText

Text or Text List. Returns the first 100 characters or first 2 paragraphs of text, whichever is smaller. All newline and tab characters are converted into spaces, and all empty paragraphs (containing only a newline character) are ignored. If the parameter is a single field, a text value is returned. If the parameter is a list of field names, then a text list is returned with each list element containing the abstracted text of the corresponding field in the parameter list.

If a field parameter is of an invalid type, or can't be found, the text returned is the string of the field parameter.

Note If the behavior of @Abstract is desired, where the result is a single, space-separated, string of abstracted results, apply @Implode to the result of @AbstractSimple

Language cross-reference

Abstract method in LotusScript NotesItem class

See examples

Examples: @AbstractSimple
Related topics
@Abstract




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009