-
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
The Backbone of Customer Service: Mastering Case Management in Salesforce Service Cloud
In the dynamic world of customer service, efficiency and organization are paramount. Every interaction, every query, and every issue needs to be tracked, managed, and…
Remarkable Ways To Grow Your Business With Sales Cloud
The end goal of every business is to maximize its sale because that is the only thing that creates revenue for it. Lead generation, improving…
Best Salesforce Integration Services for 2026
Businesses rarely rely on Salesforce alone. Sales, marketing, customer support, finance, ERP, ecommerce, analytics, and communication platforms often operate as separate systems. Without proper integration,…
Popular Salesforce Videos
Salesforce For Beginners - Create Lookup , Master-Detail Relationship and Rollup Summary
Salesforce Administration tutorial which demonstrates how to create Lookup Relationship, Master-Detail Relationship and Rollups . Things to be learned from the video : How to…
Getting your Customer on Track with Salesforce
Hear from Jonathan Gardner, Head of CRM Development First Group, and Lee Holsgrove, Client Adviser IBM as they discuss First Group's transformation bringing together a…
Create Walkthroughs in Salesforce Lightning Experience
This video shows you how to create a walkthrough with the In-App Guidance Builder. Then you can create hands-on guided training experiences for in-app onboarding,…