getItemValueCustomData (NotesDocument - JavaScript)

Returns as an object the value of an item containing custom data.

Defined in

NotesDocument

Syntax

getItemValueCustomData(itemname:string) : any

getItemValueCustomData(itemname:string, datatypename:string) : any

Parameter Description
itemname The name of the item.
datatypename The name of the data type. If specified, this name must match the data type name specified when the item was written. If omitted, no name checking occurs.
Return value Description
any An object that receives the value of the item. Must have the same class definition as the object written to the item.

Usage

An item that contains custom data is of type 14 (USERDATA).