Skip to main content

salesforce.field.namefield

Home > @runlightyear/salesforce > Field > nameField

Field.nameField property

Indicates whether this field is a name field (true) or not (false). Used to identify the name field for standard objects (such as AccountName for an Account object) and custom objects. Limited to one per object, except where FirstName and LastName fields are used (such as in the Contact object).

If a compound name is present, for example the Name field on a person account, nameField is set to true for that record. If no compound name is present, FirstName and LastName have this field set to true.

Signature:
nameField: boolean;