DEV Community

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

Posted on

1 1

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.

Image of Stellar post

How a Hackathon Win Led to My Startup Getting Funded

In this episode, you'll see:

  • The hackathon wins that sparked the journey.
  • The moment José and Joseph decided to go all-in.
  • Building a working prototype on Stellar.
  • Using the PassKeys feature of Soroban.
  • Getting funded via the Stellar Community Fund.

Watch the video

Top comments (0)

Billboard image

Try REST API Generation for MS SQL Server.

DreamFactory generates live REST APIs from database schemas with standardized endpoints for tables, views, and procedures in OpenAPI format. We support on-prem deployment with firewall security and include RBAC for secure, granular security controls.

See more!

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay