Cloud Compliance

Track masking progress with the custom field 'Masking Status' (Optional)

In the Data Masker application, the user can create a Configuration that is used for the Data Masking process.

This document showcases how Data Masker Configuration can be transferred from one org to another in order to efficiently migrate data from sandbox to production using the Import/Export feature of the Data Masker application.

Overview

  1. Create a custom field ‘Masking Status’
  2. Add ‘Masking Status’ to each of the ‘Object Masking’ records.

Step 1: Create a custom field ‘Masking Status’

Add Custom Field ‘Masking Status’ to each of the Objects that is being masked.

Navigate → ‘Object Manager’ and Select the object in which you need to add a field.

Salesforce setup showing the Object Manager dropdown, with a list of standard objects like Account and Activity.

Navigate -> ‘Fields and Relationships’, and click on ‘New’

  • Select Data Type Picklist
  • Click on Button ‘Next’

Screenshot of Salesforce Object Manager showing the 'Picklist' field type option highlighted.

Key in the field details:

  • Field Label: ‘Masking Status’
  • Values: Select ‘Enter values, with each value separated by a new line. ‘
  • Enter Value: Masked
  • Click on the Button ‘Next’

Salesforce setup for adding a new 'Masking Status' picklist custom field to the Account object.

Select ‘Visible’ for each of the profiles under which DataMasker will run.

Click ‘Next’

Salesforce field-level security page for 'Masking Status,' highlighting 'System Administrator' profile.

  • Unselect all of the Page Layout
  • Click on the button ‘Save’

Step 2: Add ‘Masking Status’ to each of the ‘Object Masking’ records

  • Navigate to the DataMasker App
  • Configurations tab
  • Click on the Configuration Name
  • Click on the Object. Example ‘Account’ in the screenshot below

Salesforce setup displaying the addition of 'Masking Status' field to various Account page layouts.

  • Click on the button ‘Edit’

DataMasker interface in Salesforce showing the 'Account' object masking settings with an 'Edit' button.

  • Update value of field ‘Filter Criteria’

    masking_status__C = NULL

    Click on the Button ‘Save’

Configuring filter criteria in DataMasker for 'Account' object with 'Masking_Status__c = Null'.

  • Add ‘Masking Status’ to Field Masking
  • Click on the button ‘New.’

DataMasker setup highlighting the 'Masking Status' field for the Account object in Salesforce.

Enter details of this new field

  • Select Action: ‘Replace’
  • Select Further Action: ‘Hardcoded Value’
  • Select Field: ‘Masking Status’
  • Select Value: ‘Masked’
  • Click on the button ‘Save.’

Detail view of 'Masking Status' field setup with 'Hardcoded Value: Masked' in DataMasker for Salesforce.

  • Masking Status Field should show under Field Maskings as below

DataMasker configuration for 'Masking Status' on the 'Account' object showing 'Masked' as the hardcoded value.

  • Repeat adding the custom field ‘Masking Status’ to all the remaining Objects that are being masked.

Need Help?

If you have questions about this documentation, please contact our support team.