Mapplet Rules
You can create rules from a mapplet. The mapplet contains the logic to mask the input columns and return data to the target columns. When you create a rule from a mapplet, you assign the mapplet column names to input and output columns when you assign the rule to a column in the data source.
Import a mapplet from an XML file that you exported from the Model repository or the PowerCenter repository. The mapplet can contain any passive transformations.
To perform TDM masking operations, you can import PowerCenter mapplets. To mask Hadoop data, you can import the mapplets that you create in the Developer tool. You cannot use sequence generator, lookup, and classifier transformations when you import mapplet to mask Hadoop data.
A mapplet can contain multiple input and multiple output columns. All columns might not be available in all projects. You must configure one input column and one output column as required columns. The mandatory columns must have source and target assignments when you assign the rule to a column in the data source. Test Data Manager has an interface to assign multiple columns to a rule from a mapplet.
The TDM repository stores the mapplet logic when you import the mapplet. You cannot change the mapplet in Test Data Manager.
Creating a Mapplet Masking Rule
You can create a data masking rule from a mapplet. The mapplet contains the logic to mask the source fields.
Export the mapplet to an XML file from the PowerCenter repository or the Model repository before you import it to Test Data Manager.
1. To access the Policies view, click Policies.
2. Click Actions > New > Masking Rule.
The Rule Wizard appears.
3. Enter a name and optional description for the rule.
4. Choose the data type to mask.
5. Select the Mapplet masking type.
6. Browse for the XML file that contains the PowerCenter mapplet to import. To mask Hadoop data, select Hadoop and browse to the XML file that contains the Informatica Developer mapplet to import.
7. Click Next.
8. Select at least one input column and output column as mandatory columns.
Select the column and click the mandatory column to change the value from No to Yes.
9. Click Finish.