setValueCustomDataBytes (NotesItem - JavaScript)

Sets the value of an item to custom data from a byte array.

Defined in

NotesItem

Syntax

setValueCustomDataBytes(datatypename:string, bytearray:byte[]) : void
Parameter Description
datatypename A name for the data type. When getting custom data, use this name for verification.
bytearray A byte array that contains the custom data.

Usage

The new value replaces the existing value.

To keep the changes, you must call NotesDocument.save after calling this method.

The custom data cannot exceed 64K.

Use this method if you intend to get the custom data through a language binding other than Java.