Deploy Custom Settings

Install SFDMU

Download and install the SFDMU plugin to get started.
https://github.com/forcedotcom/SFDX-Data-Move-Utility

Download JSON

We prepared an export.json file ( that allows you to migrate custom settings in the System Settings between organizations.

A single object will be overwritten: the Subscription25__Subscription25_Settings__c object.

Perform the following steps to migrate this data between orgs

  1. Install the Salesforce CLI by following the steps mentioned here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm

  2. Authorise the source-org (so the org where the data is currently is with the help of the the sf org login web command) https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_org_commands_unified.htm#cli_reference_org_login_web_unified

  3. Authorise the target-org (so the org where the data should be going)

  4. Install the SFDMU plugin by running sfdx plugins:install sfdmu in a terminal

  5. Download the export.json and store it somewhere where you can find it.

  6. Navigate your terminal to the folder where the export.json is stored

  7. Run the following command, replace the usernames of the target and the source with the usernames you used to authorise the orgs in step 2 and 3.
    sfdx sfdmu:run --sourceusername <SOURCE_USERNAME> --targetusername <TARGET_USERNAME>

 

The custom settings should appear in the new org. Any existing settings will be overwritten. If errors occur, they will be reported in your terminal.