Generate a mapplet from a segment containing connected transformations. The segment can contain Read, Write, or midstream transformations.
Open the mapping or mapplet that contains the segment you want to generate into a mapplet.
Select the transformations to include in the mapplet.
Right-click one of the selected transformations, and select
Extract Mapplet
.
The following image shows a mapping with four transformations selected:
The generation process validates the segment and reports any validation errors.
Browse to the Mapplets node you want to generate the mapplet in.
The Developer tool generates the mapplet in the Mapplets node within the current project by default.
Click
Finish
.
The mapplet replaces the transformations selected in the original mapping or mapplet. The tool adds Input or Output transformations to the mapplet based on whether the segment contains Read, Write, or midstream transformations.
The following image shows the selected transformations replaced by the mapplet:
Note that you must explicitly save the modified mapping or mapplet to replace the selected transformations with the mapplet. To return the mapping or mapplet to its original state, select