Updating Fields to Empty or Null During a Restore for Salesforce

Updated

During a restore operation, you can force the Salesforce API to overwrite non-null field values with the null or empty field values from the backup.

For example, the following is the default behavior without this additional setting enabled:

  • Backup: {id: "abc", name__c: null}

  • Salesforce: {id: "abc", name__c: "custom_name"}

  • Salesforce after the restore: {id: "abc", name__c: "custom_name"}

The following is the default behavior with this custom setting enabled:

  • Backup: {id: "abc", name__c: null}

  • Salesforce: {id: "abc", name__c: "custom_name"}

  • Salesforce after the restore: {id: "abc", name__c: null}

Procedure

  • To the client computer, add the additional setting as shown in the following table.

    Property

    Value

    Name

    sf_restoreSetNull

    Category

    CloudConnector

    Type

    Boolean

    Value

    True

For instructions about adding an additional setting from the CommCell Console, see Adding an Additional Setting from the CommCell Console.