The standard salesforce picklist field displays a None option at the top of the picklist options by default. We didn’t want to display this option on our picklist field. There is no direct way of removing the None option from the picklists.
In order to do this, we had to make two changes. The first one was to make the picklist field a required field and the other one was setting a default value in the picklist. Making the field required will make sure that the user has to select an option; they will not be able to save the records if None is selected in the picklist. The other part of setting a default value in the picklist will actually remove the None option from the picklist.
In order to make the picklist field a required field, go to the page layout of the object that has the picklist field. Let us take an example of a custom picklist field “Probability” in the Leads Object. Click on properties icon next to the Probability field as shown below –
Save the changes to the layout. We are done with the first part.
Now the other part is to set a default value in the picklist. To do this, go to the picklist field details by clicking on the custom field in the field setup for the Lead object. This will open the custom field definition detail screen as shown below –
Click on edit for any value and select the Default checkbox. Click Save.
Greytrix as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.
Greytrix has some unique solutions for Cloud CRM such as Salesforce integration with Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data Migration, Integrated App development, Custom App development and Technical Support to business partners and end users.
Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star app listed on Salesforce AppExchange.
For more information, please contact us at firstname.lastname@example.org. We will be glad to assist you.