Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

These steps assume you already performed the steps in Deploy configuration dataConfiguration records

View file
nameexport.json

The following data will be migrated between the target-org and the source-org when using the export.json here on the right. You first need to unzip the data.zip file which give you a folder to perform the actions.

  • B25__Resource_Type__c

  • B25__Resource__c

  • B25__Staff__c

  • B25__Availability__c

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. Make sure to create two Custom Settings to disable two Triggers on Resource and Resource Type as described here
    Disable Resource and Disable ResourceType

  6. Download and navigate to the export.json

  7. Navigate your Terminal to the folder where the export.json is stored

  8. 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>

...