You need to sign in to do that
Don't have an account?
Shephali 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??
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??
"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.
Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/
All Answers
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???
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
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.
"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.
Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/
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