Introduction
Salesforce is a cloud-based CRM company. It can provide CRM as Saas (Software as a Service) in a cloud environment. It also can provide many services such as a service cloud, marketing cloud, Sales Cloud, Analytics, Lightning mobile apps, etc.
In my previous article, I explained how to create a custom object in the Lightning platform. Click to refer to my previous article.
By reading this article, you can learn how to create custom fields in Salesforce objects easily in the Lightning platform .
I created two custom fields in the C-sharp corner object. They are as shown below:
| Field Name | Field Data Type |
| Author Name | Text |
| Author Joined | Date |
About Salesforce Custom Fields
In Salesforce, custom fields are like the Records column in the Database table. Salesforce objects are tables in the database . In the same scenario, salesforce uses this technique to store customer data.
Prerequisites for creating custom fields
To create and test custom fields in Salesforce objects in the Lightning platform, you need to Sign Up for a free trailhead account.
Step 1
Login to your Trailhead Account and launch the Trailhead Playground.
Step 2
Click Setup Gear icon and click the Setup option to enter a Lightning platform setup page.

Step 3
After you entered in Setup page, Click the Object Manager at the top of the Navigation menu

Step 4
Select your C-sharp corner object in the Object manager Lists.

Step 5
Now you can enter the C-sharp corner object page. Click Fields & Relationship on the Left side details pane. (Refer my previous article for creating a C-sharp corner object)

Step 6
Click the NEW button at the top right side of the page. After clicking the new button, you can enter in the field type page















Join the conversation! Your thoughts help the community grow.