Create Custom Libraries
Create a custom library that’s separate from the predefined Data Mask libraries. Custom libraries can contain any string value, such as long text, integers, and non-English characters.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, Unlimited, and Developer Editions with the Salesforce Data Mask or Data Mask & Seed add-on licenses |
Note This content relates to Salesforce Data Mask. Read
about Accelerate and Anonymize in Own from Salesforce.
Create, edit, or clone string value custom libraries from the Data Mask Custom Value Libraries tab.
- From the Data Mask Custom Value Libraries tab, select New.
- Enter a name for this library to help you remember its purpose.
- Enter a description of the values for the library. Currently, String is the only available content type.
- To make your library accessible in your configurations, select Active. Libraries marked Active are accessed in a Data Mask configuration by using the Replace with Custom Library action on a field. Leave it unchecked if you’re not yet ready to use it, as inactive libraries are unavailable in your configurations.
- Click Save Changes. You see your new library page. To create multiple libraries, click Save and New.
- Click Create with Einstein to ask Einstein to generate a custom library. Or, manually enter your string in the Add Entry field. Add any string value, such as long text, integers, and non-English characters. You can copy and paste longer text strings into the field. The Preview box shows what you added to the Library. If you decide that you don’t want to add an item, remove it by clicking the X next to it.
- When you finish adding all the strings, click Save Changes. Your library is ready for use when creating a configuration.
- At this point, you have several options. You can click the Edit button to make any updates to the library that you created. You can click the Delete button to remove your library completely, which can’t be undone. Or you can click the Clone button to make a copy of your created library. Before saving, you must change the library name.
- To view your custom library in the list of libraries, click the Data Mask Custom Value Libraries tab. From this list view, you can edit the library name or description, change from active to inactive, sort, or delete the library.
-
To test your new library, validate it by including it in a Data Mask configuration.
These predefined Data Mask library values are included: First Name, Last Name, Company Name, Email, Street, City, Country, Country (Abbr.), State, Postal Code, Phone Number, and Social Security Number.
Did this article solve your issue?
Let us know so we can improve!

