Salesforce Lightning Reporting and Dashboards
上QQ阅读APP看书,第一时间看更新

Custom objects

Custom objects are objects created within an organization to store data specific to that organization's business, and which cannot be stored using standard objects. Only users with admin access can create a custom object. Most AppExchange packages create and use custom objects, since they provide specific business processes. Just like standard objects, custom objects are used to store specific data in Salesforce.

Do not create custom objects to replace the functionality offered by standard objects. For example, if you create a custom Lead object, you will waste all the functionalities offered by Lead object, such as Lead Conversion.

A limited number of custom objects can be created depending on the Salesforce edition you subscribe to. If you have admin permission, you can create objects and fields in Salesforce with just Point and Click rather than complex SQL scripts as in the traditional database.

In a standard object, the standard fields available depend on the object, but each custom object comes with the following few standard fields, which is the same for all custom objects:

  • ID
  • Name
  • Created By and Created Date
  • Last Modified By and Last Modified Date
  • Owner (if the object is not a child of other objects in Master-Detail Relationship)

Just as with Standard objects, you can create custom fields in a custom object.

Use Standard object as it is designed for, for example, Salesforce CRM provides standard Account and Contact object, so do not create a custom field, such as a contact email address in Account.