Skip to main content

salesforce.field.length

Home > @runlightyear/salesforce > Field > length

Field.length property

Returns the maximum size of the field in Unicode characters (not bytes) or 255, whichever is less. The maximum value returned by the getLength() property is 255. Available in API version 49.0 and later.

Signature:
length: number;