Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.
Anoop Singh edited this page Sep 11, 2018 · 1 revision

1. Avoid certain fields in migration

You may have requirement to not copy certain fields in target org. Add such fields in "unmappedFields" property array. Tool will not migrate the value of IsStandard field from source to target org.

[
  {
    "parent": "Pricebook2",
    "unmappedFields": ["IsStandard"],
  }
}

2. Filter records.

Use "where" clause to filter records. Below JSON mapping will only migrate Pricebook2 where IsStandard is false.

[
  {
    "parent": "Pricebook2",
    "where": " IsStandard = false "
  }
}

3. Set certain fields to null in Target org

Below mapping will set PriceBook__c field value to null in the target org.

[
  {
    "parent": "PriceList__c",
    "nullable": ["PriceBook__c"]
  }
}

4. Data masking

To mask certain field value, add them to "maskedFields" array.

[
  {
    "parent": "Super_Secret_Object__c",
    "maskedFields": ["Amount__c", "Stage__c"]
  }
}

Clone this wiki locally