You can add a user cleanse library or a Java cleanse library when you want to create a customized cleanse function from existing internal or external cleanse functions. Configure a Java cleanse library to add custom cleanse function that you generate outside the MDM Hub.
Start the Cleanse Functions tool.
Acquire a write lock.
Click
Refresh
to refresh your cleanse library.
In the Cleanse Functions navigator, right-click
Cleanse Functions
, and then choose
Add Java Library
.
The
Add Java Library
dialog box appears.
Click the
Browse
button to navigate to the location of the Java library JAR file.
Specify the following properties:
Name
Unique, descriptive name for the library.
Description
Optional description of the library.
If applicable, configure parameters for the library.
Click the
Parameters
button.
The
Parameters
dialog box appears.
Add as many parameters as needed for the library.
To add a parameter, click the
Add Parameter
button.
The
Add Value
dialog box appears.
Type a name and value, and then click
OK
.
To import parameters, click the
Import Parameters
button.
The
Open
dialog box appears.
Select the properties file that contains the parameters you want.
You can add as many parameters as needed for this library.
To add a parameter, click the
Add Parameter
button. The Cleanse Functions tool displays the Add Value dialog.
Type a name and value, and then click
OK
.
To import parameters, click the
Import Parameters
button. The Cleanse Functions tool displays the Open dialog, prompting you to select a properties file containing the parameter(s) you want.
The name, value pairs that are imported from the file are available to the user-defined Java function at run time as elements of its Java properties. You can provide custom values such as user ID or target URL in a generic function.
Click
OK
.
The library that you add appears in the Cleanse Functions navigator.