+ Start a Discussion
Internal PartnerInternal Partner 

What happens if I change the API of a picklist value?

Hi all,

when a picklist field has been deployed to Production and you have some picklist values where you have to change, what is best practice, apart from changing the picklist value, do I have to change the API of the picklist value as well?. What about if I change the API of the picklist value as well?.

Could someone give me here some hints?
preetha kpreetha k
The best practice is not to change the api name of the picklist value.
1.There won't be any impact If you change only the label name.
2.If you change only the API you will be getting duplicate label error when you try to deploy it (but you can do it manually)
3.if you change both a new picklist value will be created

Choose this a best answer if you the given answer resolves your query.

Best Regards
Kamaal Ahmad Usmani 5Kamaal Ahmad Usmani 5
@preetha k
We did the option 2, manually changed the api name of picklist value. 
Now the issue is some records are still showing the old api picklist value in backend. 
What's the solution for this if we have huge amount of records still showing the old api?
Use replace button on the field where you have reamed the values and replace oldd value from new values.