Enabling the creation of mapping models in transformations

You can specify that a transformation has the capability to create mapping models. By creating mapping models, you can specify alternate names for transformed artifacts. For example, you might create a mapping model that follows a platform-specific naming convention.

Before you begin

You must have a plug-in manifest file open in the manifest editor. The plug-in must contain the following items:

About this task

The transformation generates a mapping model by using the values of the mapping properties in the transformation context. You specify values for these properties when you populate the fields in the transformation configuration editor, on the Mapping tab.

To enable the creation of mapping models for a transformation:

Procedure

  1. In the plug-in manifest editor, click the plugin.xml tab.
  2. In a Transformation element, add the following code:
    <Property name="usesMapping" id="usesMapping" readonly=true>
  3. Click File > Save.

Results

When you create a transformation configuration for this transformation, the Mapping tab is displayed in the transformation configuration editor.

Feedback