DEV Community

Cover image for Objects and Database Tables in Salesforce
Sushrut Mishra
Sushrut Mishra

Posted on

Objects and Database Tables in Salesforce

In my previous articles, I talked about what is CRM, Salesforce, and how to create your own org.
In this part, I'll be covering a go-through of Salesforce org, its Standard Objects and Database Tables.

Login to your Salesforce org

  1. First, go to https://login.salesforce.com/ Login Page
  2. Enter your credentials and you'll be redirected to your Salesforce Org. Lightning Experience Classic Experience

Now, look at the above two screenshots. Salesforce offers you two environments to work on -

  1. Salesforce Lightning Experience
  2. Salesforce Classic

The lightning experience is more catchy and newer feature of salesforce, so we will be going on with that.

Now that you have logged in - You see a couple of headers like Home, Account, Contacts, Opportunities, etc. These are the standard objects.

Standard Objects and Fields -

Objects
Objects that are provided by Salesforce.com are called standard objects. The motive behind providing such pre-defined objects is to rip out the burden of customers/businesses.
As every business and enterprise needs to keep record of customers, their contacts, orders, potential customers, sales, etc.

Every standard objects comes with a number of fields and records already defined. Let's take an example and understand -

  1. The Standard Object - Account has a number of fields and records already created. Look at the screenshot below. The account object has these records - Records

You can see a New button on the top left of Account object section. Click on it and a form to add new account opens up. All the entries of the form are called Fields. Look at the screenshot below -
Fields

Custom Objects and Fields -

Along with standard objects and pre-defined fields, Salesforce also gives you the feature to create your own objects and fields. These are called Custom objects and fields.
You can also add new fields to standard objects.

Creating new Fields

  1. Click on Setup and then Object Manager. Setup
  2. Now click on the object where you want to create a new field or multiple fields.
  3. Upon that, click on Fields and Relationships -> New. New fields From here, you will have multiple options to create different types of fields which we will talking about in upcoming articles. Here, I just wanted to give you a roundabout of how to create new fields for standard of custom objects.

Create New Custom Object

  1. Now, go to the same Object Manager page and click on Create to open a dropdown. Select Custom Object. New Object
  2. A new page to create custom object opens up. Fill up the object name and scroll down. Click on Save. Save
  3. When you click on Save, the page for new created object opens up. Here you can edit object as you like and can create new fields for the same. Custom-object

Database Tables in Salesforce are nothing but the objects and fields as these objects and fields contain all the data and records of a business or enterprise.

This was all about Objects and Fields in Salesforce. I will be talking about Relationships in the next article.

Latest comments (0)