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.
@GetDocField( documentUNID ; fieldName )
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.
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.
This function does not work in column or selection formulas.
FieldGetText method of LotusScript NotesUIDocument class
GetItemValue method of LotusScript NotesDocument class
getItemValue method of Java Document class
See examples