Specifying a map variable and alternate map in tHMap - 7.1

Data mapping

EnrichVersion
7.1
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
task
Data Governance > Third-party systems > Processing components (Integration) > Data mapping
Data Quality and Preparation > Third-party systems > Processing components (Integration) > Data mapping
Design and Development > Third-party systems > Processing components (Integration) > Data mapping
The Map Variable parameter in tHMap allows you to specify a contextual variable that contains a path to a map.

This example shows you how you can build a Job using the tHMap component, where you specify a map variable and an alternate contextual map.

Prerequisites

  • Ensure that you have created several contextual maps. In this example scenario, use three alternate contextual maps.
  • In your local machine, create a text file with the following content, where my_map refers to the Map Variable name, job_with_tContextLoad refers to the Job name and thMap_1_c refers to the Alternate Contextual Map name:
    my_map;Jobs/job_with_tContextLoad/thMap_1_c

    Ensure that you replace the values according to the names of the Map variable, the Job, and the Alternate Contextual Map you created.