Custom Settings Deployment
The Custom Settings step allows you to deploy the data held in custom settings' objects. Ids such as that of users, profiles and the organization Id for hierarchy custom settings are also mapped in the destination environment.
To create a new custom setting follow the steps below:
- Click on the Refresh Cache link to load the list of custom settings.
- Select a custom setting from the dropdown.
- Click on Get Custom Settings Values (the values are retrieved and listed in the multi-select picklist field).
- Select the values to deploy.
- Save the step.
If the custom settings reference values that are specific to an environment, Copado can automatically change the values of the source environment for the corresponding values of the destination environment. This is done with the Environment Variables feature.
E.g. Environment Variable:
Source Org: AdminUser = "email@example.com"
Destination Org: AdminUser = "firstname.lastname@example.org"
In the custom setting fields, any occurrences of "email@example.com" will be replaced with the value of the destination org: "firstname.lastname@example.org".