Data & Intelligence

Informatica Mapping Architect for Visio Part – 1

(What is it?) Mapping Architect for Visio is an Informatica power center client which is used to create mapping templates using Microsoft office Visio.

(Why?) Mapping templates created using Visio work  as a sketch of PowerCenter mapping which offers reliability and improves efficiency in:

  • Defining principles or rules that determines how specific procedures or methods can be well-defined for data integration projects.
  • Following best practices, standards, and special techniques.
  • Being used as a reusable object for similar mapping code or projects
  • Multiple mapping code can be generated at one shot with the same template
  • Documentation – Mapping template can be used to represent data or process flow while preparing design documents.

Components / Tools of Visio: The Visio provides the following 3 main tools,


  • Informatica Toolbar:
    1. Creates a mapping template from mapping XML -when the Powercenter mapping export xml is used for template creation.
    2. Validate– The mapping drawing can be verified and validated.
    3. Publish – The mapping template XML file and parameter file is created while publishing the drawing file.
    4. Arrange all button – used to show the mapping objects in best alignment.
    5. Show parameters – Displays the parameters ($<parametename>$) that are created while creating the mapping template which is used to choose/enter the values at the time of importing the template wizard in designer tool.
    6. Declare parameter & variable – Mapping parameters and variables are defined which is denoted as $$<ParameterName>
  • Informatica stencil: Displays shapes that represents mapping objects.
  • Drawing Window – Work area for mapping the template using an Informatica stencil.

Getting started with the mapping Architect for Visio:

1. Mapping Template Creation:

Data Intelligence - The Future of Big Data
The Future of Big Data

With some guidance, you can craft a data platform that is right for your organization’s needs and gets the most return from your data capital.

Get the Guide

A mapping template can be created in any one of the following ways:

  1. Manual – Mapping template created using Informatica stencils
  2. Importing export XML – A mapping template can be created by importing the existing mapping XML from PowerCenter as a base and can be customized.

Let’s see the first option in detail in this article,

  • Manual Template creation:
  1. Drag the mapping objects from Informatica stencil and create a mapping flow along          with the links between each mapping objects.manual template creation in Vizio
  2. Rules can be configured for each link to designate how data should move from one object to the other object, whether all ports to be moved to the next transformation or any specific fields or key columns to be passed over to the next transformation. Rules can be defined by double clicking on the link object and properties can be configured as per the requirement. By default, the new rule will be all ports.
     Template Creation in VizioTemplate Creation in Vizio
  3. Like the link task, properties of all mapping objects in the drawing panel can be configured  by double clicking on the objects. For example, in the case of multiple mapping generation with the same template, the source and target would be different for each mapping. In this case, the source table and target table can be parameterized and this option will be used to choose the source/target at the time of importing the template wizard. Eg. $SOURCE$ parameter for Source and $TARGET$ for Target object. Template Creation in VizioTemplate Creation in Vizio
  4. Using the show parameter button from the Informatica toolbar, the parameter properties can be set. At the time of importing the template wizard, this set up allows you to choose the source table either in a drop-down fashion (Control =combo box) or in an edit box.Template Creation in Vizio
  5. Using declare parameters or variable can be defined which can be used as a parameter in the mapping and variables in session or workflows. Eg. $$Plan_code parameter, string as datatype.
    Template Creation in Vizio
  6. Once all the rules and parameterization are done, the mapping template should be validated using the validate button from the toolbar.Template Creation in Vizio
  7. Final step is to save the changes to mapping template drawing file.

2. Publish Mapping Template:

When publishing the mapping template, the mapping template XML file and the mapping template parameter file will be generated which are used to generate multiple mappings along with parameter value specification when the import mapping template wizard is used.

After publishing, if there is any update on the mapping template drawing file then it should be re-published.

3. Generation of multiple mappings:

There are two methods to generate mappings in PowerCenter using the mapping template,

  • Mapgen commandline program
  • Import mapping template wizard
Import mapping template wizard option:

To begin with the import mapping template wizard, the basic requirement should be,

  • Mapping cannot be created without source and target in the repository as the template wizard could not access source/target definitions.
  • If in case the shortcuts are used in the templates, then ensure the destination source/target should be available in shared folder in the active repository.

To start with import wizard template,

  1. Open the folder where the mapping will be created in the designer tool
  2. Select the mapping tab and choose the import mapping template option and upload the template XML file and click next when wizard opens.Generation of multiple mappings Vizio
  3. This step is used to specify the parameter values that are defined in the mapping template. In our example, we have created a parameter for source & target ( $SOURCE$ / $TARGET$) with control properties as combo box. So, this step enables us to choose or map the source and target definitions or shortcuts to the corresponding mapping. An alternate option is to opt “use existing” button to make use of mapping template parameter file XML.Generation of multiple mappings Vizio
  4. Clicking the next option twice, the next step will be to click the option ‘Yes’ for the below prompted dialog box. This will export the source and target definitions to tabledef where the PowerCenter client is installed.Generation of multiple mappings VizioGeneration of multiple mappings Vizio
  5. The final step will show the status that the mapping(s) are generated successfully.  In order to generate mappings, enable the check box denoting  “use the workflow generation wizard to create session and workflows for these mapping”. If not, it can be unchecked which prevents workflow generation/creation. The next step will be to click ‘Yes’ for the below prompted dialog box. This will export the source and target definitions to tabledef where the PowerCenter client is installed.Generation of multiple mappings Vizio

Did you find any other enhanced technique for the same perception ? What and how are you implementing them? Let us know in the comments. 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Sriranjani Mani

More from this Author

Subscribe to the Weekly Blog Digest:

Sign Up
Follow Us