Introduction
Schema Builder is one of the Drag and Drop features in the Salesforce Lightning platform. It displays a structure of all custom & standard objects in the lightning platform and enables adding and removing the objects and fields using the drag & drop feature in schema builder. In my previous article, I explained creating custom fields and objects in “Object manager”. The object manager process takes time to create a custom field and objects, but by using Schema builder you can create a custom object and fields within a minute.
Previous articles:
In this article, you will learn how to create a custom object and fields using Schema Builder.
Prerequisites
-
Before starting this process, you must sign up on the Salesforce Trailhead lightning platform. Click here to sign up
Step 1
Login to trailhead lightning platform.
Step 2
Launch our Trailhead playground or developer edition in your Org.
Step 3
After the playground is launched, click the “Gear” icon and then select the “Setup” option to launch the setup window.

Step 4
In the Setup page, search “Schema Builder” in the quick find the search box, then click the “Schema builder” option from the suggestions.

Step 5
Our schema builder page is opened and the objects and fields are displayed like structures.

Step 6
In the left side pane, click the “Clear All” option from the left side pane to clear all object structure from the screen.

Step 7
Now select the “Element” tab from the left side pane.

Step 8
In the elements page, drag the “Object” from the side panel and drop to the schema builder empty space.

Step 9
After dropping the element, a prompt to create a new object window will appear on the page. In this window, fill all the fields and then click on the “Save” button.

Step 10
Your custom object will be created and displayed in the schema builder page. Next, we are adding two custom fields: “Date of birth” and “Mobile number” in our created custom object.

















Join the conversation! Your thoughts help the community grow.