-
How to set default value in a picklist in apex code?
Hi All,
How to set default value in a picklist in apex code?
Basically, I am making a picklist with few states name and want to set Delhi as a default value. Any suggestions?
Thanks
Log In to reply.
Popular Salesforce Blogs
How to Access, Create, and Deploy Salesforce Einstein Analytics Dashboard
With the increasing database from different organizations, there is a need for efficient tools to inspect all the data. A cloud-based data analytics tool, Einstein…
What is the Salesforce Experience Cloud? | The Ultimate Guide
Salesforce Experience Cloud, formerly known as Community Cloud, is a platform designed to help companies build and customize online communities for their customers, partners, and…
Popular Salesforce Videos
Salesforce Lightning Events Tutorial I Building Component Events (Single Component)
This Salesforce Lightning Events Tutorial will make you learn how to register an event in Salesforce Lightning and handle that event in the source component…
How to Create Bulk Custom Fields in Salesforce using BOFC App | Salesforce | BOFC | AppExchange
Want to perform multiple operations? This quick video walks you through how to create mass custom fields of any type (Master Detail, Lookup, Formula, Primitive…
Live Demo of Salesforce Industries
Watch the live demo to have a better understanding of Vlocity i.e Salesforce Industries. Let's have a glance at this extract from our latest webinar!…