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






@GetDocField

Given the unique ID of a document, returns the contents of a specific field on that document. The document must reside in the current database.

Syntax

@GetDocField( documentUNID ; fieldName )

Parameters

documentUNID

Text. The unique ID of a document. @DocumentUniqueID specifies the unique id of the current document. To specify the unique id of the parent document, you can use $Ref as the parameter. $Ref is the name of the special field on a response document that stores the unique id of its parent.

fieldName

Text. The name of a field on the document, enclosed in quotation marks. If you store the field name in a variable, omit the quotation marks here.

Return value

fieldValue

Text or text list; number or number list; time-date or time-date range. The contents of the field on the specified document. Returns null if the UNID or field name is invalid.

Usage

This function does not work in column or selection formulas.

Language cross-reference

FieldGetText method of LotusScript NotesUIDocument class

GetItemValue method of LotusScript NotesDocument class

getItemValue method of Java Document class

See examples

Examples: @GetDocField
Related topics
Accessing data outside the current document and database
@DocumentUniqueID
@InheritedDocumentUniqueID
@SetDocField




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009