How to Create Date Field in Salesforce

Create Date Field in Salesforce:

Before proceeding, Read this Blog: How to Create Custom Fields in Salesforce.

(1) In this blog, we will learn how to create a custom Date field in Salesforce. After that, we use this field in the Earthquake Tracker App developed in the previous blog. Learn here: How to Create a New Lightning App in Salesforce.

(2) On the Salesforce setup page click on the Object Manager as shown below.

Object manager tab salesforce

(3) Now Object Manager Set Up page is opened. In the Quick Find box, search for the Custom Object (Earthquake Death Count) that we have created in the previous blog and click on it as shown below. Learn here: How to Create Custom Objects in Salesforce.

Select custom object in salesforce

(4) Our Custom Object (Earthquake Death Count) page is opened. On the left side click on Fields & Relationships as shown below.

Fields & Relationships Salesforce

(5) Now our Fields & Relationships page is opened. On that page, you find some Standard Fields available here. You have to click on the New button to create New Custom Field as shown below.

New custom field salesforce

(6) Now you have to select the Date Data Type and click on the Next button as shown below.

Date Data Type Custom Field Salesforce

(7)  In the next step, fill the Field Label box, Field Name is automatically generated, and then press the Next button as shown below.

Enter details for date field in salesforce

(8) In the Field-Level Security for Profile, I tick the Visible checkbox for System Administrator and then click the Next button as shown below.

date field visibility set in salesforce

(9) Now custom field add to the page layout and then click on the Save Button as shown below.

Date field created in salesforce

(10) New Date Data Type Field is created as shown below. __c represents the custom field.

Custom date field created in salesforce

(11) Now go to the app launcher and search for Earthquake Tracker App and click on it as shown below.

Search for app in app launcher salesforce

(12) Earthquake Tracker App is opened. In the Earthquake Death Counts tab, from the drop-down click on New Earthquake Death Count or click on the Earthquake Death Counts tab and press the New Button as shown below.

custom tab drop down salesforce

OR

new button to add field data in custom tab salesfroce

(13) Now you find the Date field in the New Earthquake Death Count pop-up. Fill in the information and then press the Save button as shown below.

custom date field added in app in salesforce

(14) Earthquake Death Count record is created as shown below.

new record added in app salesforce

Customer Relationship Management Or CRM
Install Python on Windows
How to Install PyCharm For Python on Windows
How to Create a Program in Python (Using IDLE & Notepad)
How to Create Variables in Python
Information Security in E-Commerce
Spooling and Virtual Devices
Careers in Information Technology (IT)
How to Setup/Configure New Company for Trading Industries in Dynamics 365 Business Central– ERP Consultors

Comments (No)

Leave a Reply