Skip to main content

SalesforceObjectField

Metadata describing one field on a Salesforce object.

type SalesforceObjectField {
name: String
custom: Boolean
label: String
length: Int
picklistValues: [SalesforcePicklistValue]
precision: Int
type: String
}

Fields

SalesforceObjectField.name ● String scalar

API name of the field, e.g. Industry or Region__c.

SalesforceObjectField.custom ● Boolean scalar

True when the field is a custom (non-standard) field.

SalesforceObjectField.label ● String scalar

Display label of the field.

SalesforceObjectField.length ● Int scalar

Maximum length in characters, for text fields.

SalesforceObjectField.picklistValues ● [SalesforcePicklistValue] list object

Allowed values when the field is a picklist.

SalesforceObjectField.precision ● Int scalar

Total number of digits, for numeric fields.

SalesforceObjectField.type ● String scalar

Salesforce field data type, e.g. "string", "picklist", "reference".

Member Of

getSalesforceObjectDescriptionPayload object