@GetField (JavaScript)

Returns the value of a document item associated with the current page.

Defined in

@Functions (JavaScript)

Syntax

@GetField(name:string) : any
Parameter Description
name Name of an item in the Domino® document bound to the current XPage.
Return value Description
any The value of the item.

Usage

This function first transfers the current page to the server capturing the most recent user input.

Examples

This computed field value gets the Subject item of the document associated with the XPage.
@GetField("Subject")