Table of Contents

Search

  1. Preface
  2. Mappings
  3. Mapplets
  4. Mapping Parameters
  5. Where to Assign Parameters
  6. Mapping Outputs
  7. Generate a Mapping from an SQL Query
  8. Dynamic Mappings
  9. How to Develop and Run a Dynamic Mapping
  10. Dynamic Mapping Use Cases
  11. Mapping Administration
  12. Export to PowerCenter
  13. Import From PowerCenter
  14. Performance Tuning
  15. Pushdown Optimization
  16. Partitioned Mappings
  17. Developer Tool Naming Conventions

Developer Mapping Guide

Developer Mapping Guide

Generating a Mapplet

Generating a Mapplet

Generate a mapplet from a segment containing connected transformations. The segment can contain Read, Write, or midstream transformations.
  1. Open the mapping or mapplet that contains the segment you want to generate into a mapplet.
  2. Select the transformations to include in the mapplet.
  3. Right-click one of the selected transformations, and select
    Extract Mapplet
    .
    The following image shows a mapping with four transformations selected:
    Four transformations within a mapping have been selectd for inclusion in the mapplet.
    The generation process validates the segment and reports any validation errors.
  4. 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.
  5. 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:
The new mapplet replaces the selected transformations in the Developer tool canvas.
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
File > Undo
three times.

0 COMMENTS

We’d like to hear from you!