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.
Note – This feature is available from DM 1.26 Release version onwards.
Solution Steps – 1. Navigate to the Configuration tab in the application. User will see all the Configurations which are created and ready to export.
Users will find the Export and Import button on this page.
Export- The user can Export the Configuration from the current org and can import it to the current or destination org.
Import – The user can import the mapping which is exported from the source org.
Note- While importing the Configuration user needs to make sure that all the objects, fields and Patterns which are available in the Exported file(JSON file) are available in the Destination org.
2. User will see the ‘Export’ button, Click on it.
Here, the user will see all the configurations that the user can Export, the configurations which are not required to export user can cancel them by clicking on the ‘Close’ symbol.
After closing the unnecessary Configuration user will see only the Configuration that needs to be exported.
3. Click on the ‘Download’ button to save the configuration in the System. It will download the file in the format of JSON.
After clicking on the ‘Download’ button the file will be downloaded
All set, the Configuration is Downloaded successfully.
4. Now, go to the Destination org in which the user wants to Import the Configuration to run the Data Masker.
Navigate to the Configuration tab, the user will Import Button there.
5. Click on the ‘Import’ button, it will take the user to the page where the user needs to upload the JSON file which is to be imported into the destination org.
Click on the Upload Files button
6. Select a file from the System and click on the Upload button
7. After clicking on the ‘Upload’ button user will get a Success message in the pop-up.
8. Now click on the Close button to close the window
Here the user has successfully imported the mapping from the Source org to Destination org.
Likewise, the user can migrate the Data Masker configuration between the orgs without losing the information.