Different Data Types in Salesforce

In Salesforce, there are different kinds of data types depending on conditions. The five different data types in API:

  • ID
  • String
  • Boolean
  • Double
  • Varies by type

Want to know more about Salesforce? Read this extensive Salesforce Tutorial!

Different Field Types Depending on the Data Types

IDLook up relational, master–detail relationship
StringAuto number, email, phone, multi-select picklist, text, text area, long text area, rich text area, data category group reference, and URL
DoubleCurrency, formula, number, percent, and roll-up summary
Varies by typeFormula field

Learn more about Salesforce Automation System in this insightful blog now!

Different Field Types

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
MasterrecordWhen records are merged, the ID of the record that is saved (the other records are deleted)
MultipicklistMulti-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

Learn end-to-end Salesforce concepts through the Salesforce Course in Hyderabad to take your career to a whole new level!

Salesforce Components

  • TAB menu: In this, all tabs are arranged in a row.
  • All TAB menu: In this, you can find all the tabs available in salesforce.com.
  • More TAB menu: In this, you can find more tabs available in salesforce.com.
  • User menu: This is available at the top with a username. By using this component you can change your profile settings.
  • Sidebar menu: In this, there are different sections such as build, monitor, jobs, logs, etc.
  • Application menu: It allows shuffling between applications.
  • Search menu: It helps search in Salesforce.

Go for this in-depth job-oriented Salesforce Training Course now!

Recommended Videos

Leave a Reply

Your email address will not be published. Required fields are marked *