Creating custom fields
We have successfully created the Employee
object with the standard fields. According to the requirements, we need more fields to store various types of data values. In the preceding sections, you have learned that a Salesforce object is analogous to a database table, in the same way as the Salesforce standard/custom field is analogous to a database table column. Normally, a
Database Management System (DBMS) has a set of data types for the database table columns. The Force.com platform also provides a set of data types to define custom fields of Salesforce custom objects and selected standard objects. The following two figures show us a few data types in the Force.com platform:
As you can see, we have a set of data types to create custom fields for a custom object or a standard object.
Let's explore the data types of the Force.com platform under the seven...