You can copy segments of mappings and mapplets when you want to reuse a portion of the mapping logic. A segment consists of one or more objects in a mapping or mapplet. A segment can include a source, target, transformation, mapplet, or shortcut. To copy mapping segments, select and copy the segments from the mapping designer and paste them into a target mapping or an empty mapping or mapplet workspace. You can copy segments across folders or repositories.
To copy a segment of a mapping or mapplet:
Open a mapping or mapplet.
Select a segment by highlighting each object you want to copy.
You can select multiple objects. You can also select segments by dragging the pointer in a rectangle around objects in the workspace.
Click Edit > Copy or press Ctrl+C to copy the segment to the clipboard.
Open a target mapping or mapplet. You can also paste the segment into an empty workspace.
Click Edit > Paste or press Ctrl+V.
The Designer prompts you to rename, reuse, or replace objects with conflicts.