What are fields in Salesforce

In Salesforce, Objects are referred as database tables, fields in Salesforce are referred as columns and records are the Rows. For every Salesforce object, Identity, system, and name fields are standard. In Salesforce.com, every standard object comes with a set of predefined, standard fields. Standard objects can be customized by adding relevant custom fields. Custom fields can also be added to custom objects.

Different fields in Salesforce?

There are two types of fields:

  • Standard fields
  • Custom fields

Standard fields

Standard fields are predefined fields that are included within the Salesforce application. These fields can neither be edited nor be deleted, but non-required standard fields can be removed from page layouts whenever needed. Both standard and custom objects contain a few common standard fields such as Name, CreateDate, LastModifiedDate, and Owner fields.

Custom fields

Custom fields are unique to your business needs. These fields can be created and deleted. Creating custom fields helps in storing the information that is necessary for your organization. Custom fields are identified by a __c suffix. Every field has a data type. A data type of a field indicates what kind of information the field can store. There are various data types such as ID, String, Boolean, and Double.

What are the different field types in Salesforce?

Field TypeDescription
AddressA compound data type that contains address field data
AnyTypeA polymorphic data type that returns a string, picklist, reference, Boolean, currency, int, double, percent, ID, date, DateTime, URL, or email data depending on the kind of field involved
CalculatedA field that is defined by a formula
ComboboxA Combobox, which includes a set of enumerated values and allows the user to specify a value, not on the list
Currency Currency values
DataCategoryGroupReferenceReference to a data category group or a category unique name
EmailEmail addresses
EncryptedStringAn encrypted text field that contains any combination of letters/numbers/symbols stored in an encrypted form; you can set up a maximum length of up to 175 characters; available in API versions 11.0 and later
IDA primary key field for an object
JunctionIdListA string array of referenced ID values representing the many-to-many relationship of an underlying junction entity; you have to query and manipulate the string array to query and manipulate the underlying junction entities in a single API call
LocationA compound data type that contains latitude and longitude values for geolocation fields
Master-recordWhen records are merged, the ID of the record that is saved (the other records are deleted)
Multi-picklistMulti-select picklist includes a set of enumerated values from which multiple values can be selected
PercentPercentage values
PhonePhone numbers; values can include alphabetic characters; client applications are responsible for phone number formatting
PicklistPicklist includes a set of enumerated values from which one value can be selected
ReferenceCross-references to a different object; analogous to a foreign key field in SQL
TextareaA string that is displayed as a multi-line text field
URLURL values; usually, client applications should display these as hyperlinks

In our next Salesforce admin tutorial, we will learn about How to create a custom field in Salesforce.

Leave a Comment

Your email address will not be published.

Scroll to Top