Skip to main content
All CollectionsHelp ArticlesBest Practices
How to deploy State and Country/Territory Picklists with Copado Essentials
How to deploy State and Country/Territory Picklists with Copado Essentials

How to deploy State and Country/Territory Picklists with Copado Essentials.

David Belove avatar
Written by David Belove
Updated over a week ago

Deploying State and Country/Territory Picklists with Copado Essentials involves a few specific steps. Here's how you can do it:

1. First, you need to select the appropriate metadata components in your deployment. For State and Country/Territory Picklists, you'll need to include the following:

- Select the `StandardValueSet` metadata type

- Choose both `StateCode` and `CountryCode` from the list of available components

2. It's important to note that you should always deploy both `StateCode` and `CountryCode` together, even if you've only made changes to one of them. This is because they are interdependent.

3. If you have any custom fields that reference these picklists, you should include those in your deployment as well. Select the `CustomField` metadata type and choose the relevant fields.

4. If you have made any changes to how these picklists are displayed or used in page layouts, you may also need to include the relevant `Layout` components in your deployment.

5. Once you've selected all the necessary components, proceed with your deployment as usual in Copado Essentials.

It's worth noting that deploying State and Country/Territory Picklists can be complex, especially if there are differences in the activation status between your source and target orgs. Here are a few additional considerations:

- If the picklists are activated in the source org but not in the target org, you may need to manually activate them in the target org after deployment.

- If you're deploying customizations to these picklists (like custom labels or integrations), make sure all related components are included in your deployment.

Remember, Copado Essentials uses Salesforce's Metadata API for deployments, so any limitations or special considerations that apply to deploying these picklists through the Metadata API will also apply when using Copado Essentials.

If you encounter any issues during the deployment, you can always reach out to Copado Support through the in-app chat for assistance.

Did this answer your question?