Components > Mapplets > Editing a mapplet
  

Editing a mapplet

Edit a mapplet in the Mapplet Designer. To edit a mapplet, open the mapplet from the Explore page.
When you edit a mapplet, the Mapplet Designer validates the transformation logic. If a mapplet is valid for mappings in or outside of advanced mode when you save it, Data Integration deploys the changes to each mapping and mapplet that uses the mapplet.
For example, if the mapplet is valid both in and outside of advanced mode and you change the interface of the mapplet so that it's only valid outside of advanced mode, Data Integration deploys the changes to all mappings that use the mapplet.
Use caution when you edit mapplets that are used in mappings and other mapplets. If you edit the mapplet interface, mappings and mapplets that use the mapplet will have validation errors. To resolve the validation errors, you must synchronize the Mapplet transformations that use the mapplet to get the latest changes. If you do not synchronize the mapplet transformation and you run the task, the task fails.
To see the assets that use the mapplet, in the Mapplet Designer, open the Actions menu and select Show Dependencies.
You cannot edit a mapplet in a Mapplet transformation, and you cannot edit a mapplet that you imported from PowerCenter.

Changes that affect dependencies

Changes to a mapplet might affect the mappings and mapplets that use the mapplet.
The following changes to a mapplet do not affect the assets that use the mapplet:
The following changes to a mapplet change the interface of the mapplet and affect the assets that use the mapplet:

Synchronizing a mapplet

If the interface of a mapplet changes after it has been added to a Mapplet transformation, you must synchronize the mapplet to get the changes. Synchronize a mapplet on the Mapplet tab.
Mappings and mapplets that use the mapplet are invalid until the mapplet is synchronized. If you run a mapping task that includes a changed mapplet, the task fails.
When you synchronize a mapplet, the updates might cause validation errors in other transformations in the mapping or mapplet.
You cannot synchronize a mapplet that you imported into Data Integration from PowerCenter or SAP.
To synchronize a mapplet, perform the following steps:
  1. 1Open the mapping or mapplet that uses the mapplet.
  2. 2Select the mapplet transformation.
  3. 3On the Mapplet tab, click Synchronize.
  4. 4Correct any resulting errors in the transformation logic.