Table of Contents

Search

  1. Preface
  2. Using the Designer
  3. Working with Sources
  4. Working with Flat Files
  5. Working with Targets
  6. Mappings
  7. Mapplets
  8. Mapping Parameters and Variables
  9. Working with User-Defined Functions
  10. Using the Debugger
  11. Viewing Data Lineage
  12. Comparing Objects
  13. Managing Business Components
  14. Creating Cubes and Dimensions
  15. Using the Mapping Wizards
  16. POWERCENTERHELP
  17. Datatype Reference
  18. Configure the Web Browser

Editing Mapplets

Editing Mapplets

You can edit a mapplet in the Mapplet Designer. The Designer validates the changes when you save the mapplet. When you save changes to a mapplet, all instances of the mapplet and all shortcuts to the mapplet inherit the changes. These changes might invalidate mappings that use the mapplet.
To see what mappings or shortcuts may be affected by changes you make to a mapplet, select the mapplet in the Navigator, right-click, and select Dependencies. Or, click Mapplets > Dependencies from the menu.
You can make the following changes to a mapplet
without
affecting the validity of existing mappings and sessions:
  • Add input or output ports.
  • Change port names or comments.
  • Change Input or Output transformation names or comments.
  • Change transformation names, comments, or properties.
  • Change port default values for transformations in the mapplet.
  • Add or remove transformations in the mapplet, providing you do not change the mapplet type from active to passive or from passive to active.
Use the following rules and guidelines when you edit a mapplet that is used by mappings:
  • Do not delete a port from the mapplet.
    The Designer deletes mapplet ports in the mapping when you delete links to an Input or Output transformation or when you delete ports connected to an Input or Output transformation.
  • Do not change the datatype, precision, or scale of a mapplet port.
    The datatype, precision, and scale of a mapplet port is defined by the transformation port to which it is connected in the mapplet. Therefore, if you edit a mapplet to change the datatype, precision, or scale of a port
    connected
    to a port in an Input or Output transformation, you change the mapplet port.
  • Do not change the mapplet type.
    If you remove all active transformations from an active mapplet, the mapplet becomes passive. If you add an active transformation to a passive mapplet, the mapplet becomes active.


Updated June 25, 2018