Auto mapping enables you to automatically map source and target classifiers or source and target features. Auto mapping saves the effort of manually mapping the classifiers or features.
You can
Auto Map by Name Match.
Auto Map by Name Rule.
Auto Map by Name Match
This option enables you to automatically map the source and target classifiers or the source and target features that have the same names. It is case insensitive.
To auto map by name match,
If you are on | Steps to Auto Map by Name Match |
---|---|
ClassifierMap Designer |
|
FeatureMap Designer | In the toolbar, click Auto Map by Name Match icon (![]() |
The status bar displays the number of classifiers or features that are mapped after auto mapping is complete.
Auto Map by Name Rule
This option enhances auto mapping by enabling you to apply name rules, and map the source and target classifiers or source and target features that do not have the exact names but similar.
To auto map by name rule,
If you are on | Steps to Auto Map by Name Match |
---|---|
ClassifierMap Designer |
|
FeatureMap Designer | In the toolbar, click Auto Map by Name Rule icon ( ![]() |
In the Auto Map Settings window,
You can select Case Sensitive to match the names based on case.
You can select Ignore Name Qualification (only on FeatureMap Designer ) to map data items that are on different levels in the hierarchical structure. For example, consider the following source and target structures:
Source | Target |
Name Address — Country — State | Name Country State |
Here the name qualifications of the source data items are ignored and Address.Country and Address.State are mapped to Country and State in the target.
Note: If there are multiple occurrences of the data item in the source, then the first occurrence of the unmapped data item in the current order will be mapped to the target.
You can select the options in the Ignore drop-down list for the Source and Target classifiers or features and enter the required information in the adjacent box.
The following table provides details about the various options that are available when using Auto Map by Name Rule.
Option | Description | Example |
---|---|---|
String(s) | Using this option, you can ignore one or more strings while auto-mapping. You must enter the string(s) in double quotes and separate it using a comma. This format applies only for the String(s) option. Note: This format is not allowed in releases prior to Data Exchange 5.0. | Example 1: To map,
Choose the option “String(s)” in the Ignore drop-down list for the source as well as the target, and enter the following strings in the adjacent text box. At the source: “[”,“]” At the target: “_” Example 2: To map,
Choose the option “String(s)” in the Ignore drop-down list for the source and enter “Ispec_” in the adjacent text box. |
String starting with | Using this option, you can ignore a string starting with a particular string. | To map,
Choose the option “String starting with” in the Ignore drop-down list for the target and enter _ in the adjacent text box. |
String ending with | Using this option, you can ignore a string ending with a particular string. | To map,
Choose the option “String ending with” in the Ignore drop-down list for the source and enter _ in the adjacent text box. |
First (…) character(s) | Using this option, you can ignore sub-strings of a specified length from the beginning of a string. | To map,
Choose the option “First (…) character(s)” in the Ignore drop-down list for the source and enter 6 in the adjacent text box. |
Last (…) character(s) | Using this option, you can ignore sub-strings of a specified length from the end of a string. | To map,
Choose the option “Last (…) character(s)” in the Ignore drop-down list for the target and enter 9 in the adjacent text box. |
String by Regular Expression | Using this option, you can ignore sub-strings that match a particular Regular Expression. | To map,
Choose the option “String by Regular Expression” in the Ignore drop-down list for the source, and enter \d in the adjacent text box to ignore the numbers. |
The status bar displays the number of classifiers or features that are mapped after auto mapping is complete.