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
Saloni KhedkarSaloni Khedkar 

State & Country Picklist - migration from Sandbox to Production

Is there a way to get state and country pick list from sandbox to production?
 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Saloni,

Greetings to you!

State and country picklists aren’t supported in Salesforce change sets or packages. However, you can move integration value changes for state and country picklists between sandbox and production orgs by using the Metadata API. To edit the existing states and countries in a picklist, configure your state and country picklists in your sandbox org. Then, use the Metadata API to retrieve the sandbox configurations, and deploy them to your production org. You can’t deploy new ISO codes or update ISO code values using any API.

Please refer to the below links which might help you further with the above requirement.

https://help.salesforce.com/articleView?id=admin_state_country_picklists_configure.htm&type=5 (https://help.salesforce.com/articleView?id=admin_state_country_picklists_configure.htm&type=5)

https://blog.bessereau.eu/assets/pdfs/state_country_picklists_impl_guide.pdf

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas