Create Picklist 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 Picklist field in Salesforce. This field allows users to select a value from a list you define. 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.
(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.
(4) Our Custom Object (Earthquake Death Count) page is opened. On the left side click on Fields & Relationships as shown below.
(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.
(6) Now you have to select the Picklist Data Type and click on the Next button as shown below.
(7) In step 2, enter the details and press the Next button as shown below.
(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.
(9) Now custom field add to the page layout and then click on the Save Button as shown below.
(10) New Picklist Data Type Field is created as shown below. __c represents the custom field.
(11) Now go to the app launcher and search for Earthquake Tracker App and click on it as shown below.
(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.
(13) Now you find the Picklist field in the New Earthquake Death Count pop-up. Fill in the information and then press the Save button as shown below.
(14) Earthquake Death Count record is created as shown below. Day Category is a custom Picklist.
Database Management System (DBMS)
Business Central Tutorial– ERP Consultors