function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shephali SwarnkarShephali Swarnkar 

Can We Edit Picklist values of standard fields of standard object

Hi All,
     I want to edit the "TYPE" Field in account object.Type is having picklist (prospect,customer-direct etc...) i need to edit these values.
I used navigation set up->customise->accounts->fields
 But i cant edit the picklist values.
can anyone tell me is it possible to change the picklist or i have to add a custome field for the same??
Best Answer chosen by Shephali Swarnkar
hitesh90hitesh90
Hello Shephali,

"Prospect" is one of the Picklist value of Type field of Account. so if you change "Prospect" to "Proposal" it will make change in Picklist values also.

Follow the below steps for your requirement.
1. Go to Setup --> Customize --> Account --> Fields --> Click on "Type" field.
2. Click on "Edit" link in front of "Prospect".
3. Change it to "Proposal" and click on "Save" button.
4. Now you can check Picklist values or Type field in any of the account record. see below screenshot.

User-added image

Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/

All Answers

Shephali SwarnkarShephali Swarnkar
Hi All,
     Replace Option given there is for replacing the existing values in the account list only. like if i have an account "ABC" and type "prospect" then i can change it globly from the above navigation so that all the account having type "prospect" will change to some other type.

  But here i want to change the picklist values.How???
salesforce mesalesforce me
Hi [Shephali Swarnkar] Shephali Swarnkar.....

This is not directly possible with apex. You will have to call an external web service which will callback in Salesforce Metadata API to add/update value.

Please note, when you're updating picklist values for a field, you should include ALL existing picklist values PLUS the ones you want to add. If you make a metadata call to insert just the new picklist values, it would wipe all the other ones and saves the value you enter.

I also found a forum’s link where similar scenario has been discussed.
https://developer.salesforce.com/forums?id=906F00000008yw2IAA
Tejasvi RaoTejasvi Rao
Hi Shephali, if you wish to rename a specific picklist value say "prospect" to "proposal" - then follow the same navigation as you mentioned. Then hit "Edit" next to the piclist list value and rename "Prospect" to "Proposal" - this way all accounts with type as Prospect get replaced with Proposal.
Shephali SwarnkarShephali Swarnkar
Hi Tejasvi Rao,
       I dint get your point.
      Using Edit i can only edit the existing records with the selected value.As i mentoned above. How can i change prospect to proposal.
hitesh90hitesh90
Hello Shephali,

"Prospect" is one of the Picklist value of Type field of Account. so if you change "Prospect" to "Proposal" it will make change in Picklist values also.

Follow the below steps for your requirement.
1. Go to Setup --> Customize --> Account --> Fields --> Click on "Type" field.
2. Click on "Edit" link in front of "Prospect".
3. Change it to "Proposal" and click on "Save" button.
4. Now you can check Picklist values or Type field in any of the account record. see below screenshot.

User-added image

Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/
This was selected as the best answer
Ajay Kumar Sharma 12Ajay Kumar Sharma 12
Please Note !!!
Setup -> Customize is available only in salesforce classic model. So lanuch the classic model first. My 1 hour was wasted to find this thing. So developers using lightning experience, be aware!
Refer here for more : https://success.salesforce.com/answers?id=9063A000000e8NyQAI