Book Image

Learning Force.com Application Development

By : Chamil Madusanka
Book Image

Learning Force.com Application Development

By: Chamil Madusanka

Overview of this book

Table of Contents (21 chapters)
Learning Force.com Application Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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:

The set of data types of Force.com platform—set 1

The set of data types of Force.com platform—set 2

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 categories. This...