Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Problem


A set of elements require complex mapping, part of which is the same for many of the elements.

Solution


Use a template to save common mapping expressions rather than retyping them for each element.

Discussion


Saving parts of business logic that are frequently reused for many elements as a template can significantly reduce the time required to complete a mapping project.

For example, the following business logic is used as part of the mapping for several elements in this project.

Rather than typing this out for each mapping, the common expression to be reused may be saved as a template.

Copy the common expression to be added, then go to the "Settings" tab of the mapping project and click "Add/Edit Templates".

Click "Add".

Provide a descriptive title for the template and then paste (or type) the common expression into the Template text box. Click "Add". Then click "Close".

To insert the common expression into the business logic for an element, choose "Enter Mapping Business Logic" from the "Mapping Method" drop-down menu, then click inside the business logic text box. Click the double arrow << to expand the "Templates" menu, then select the desired template from the list.

The common expression is then inserted into the business logic text box.

You may also insert the common expression by typing the # character and then selecting the desired template.

The business logic may then be adjusted to the individual element.




  • No labels