Different Data Types in Salesforce
In Salesforce, there are different kinds of data types depending on conditions. The five different data types in API:
- Varies by type
Want to know more about Salesforce? Read this extensive Salesforce Tutorial!
Different Field Types Depending on the Data Types
|ID||Look up relational, master–detail relationship|
|String||Auto number, email, phone, multi-select picklist, text, text area, long text area, rich text area, data category group reference, and URL|
|Double||Currency, formula, number, percent, and roll-up summary|
|Varies by type||Formula field|
Learn more about Salesforce Automation System in this insightful blog now!
Different Field Types
|Address||A compound data type that contains address field data|
|AnyType||A 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|
|Calculated||A field that is defined by a formula|
|Combobox||A Combobox, which includes a set of enumerated values and allows the user to specify a value, not on the list|
|Currency|| Currency values|
|DataCategoryGroupReference||Reference to a data category group or a category unique name|
|EncryptedString||An 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|
|ID||A primary key field for an object|
|JunctionIdList||A 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|
|Location||A compound data type that contains latitude and longitude values for geolocation fields|
|Masterrecord||When records are merged, the ID of the record that is saved (the other records are deleted)|
|Multipicklist||Multi-select picklist includes a set of enumerated values from which multiple values can be selected|
|Phone||Phone numbers; values can include alphabetic characters; client applications are responsible for phone number formatting|
|Picklist||Picklist includes a set of enumerated values from which one value can be selected|
|Reference||Cross-references to a different object; analogous to a foreign key field in SQL|
|Textarea||A string that is displayed as a multi-line text field|
|URL||URL 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!
- 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!