Specifying a map variable and alternate map in tHMap - Cloud - 8.0

Data mapping

Version
Cloud
8.0
Language
English
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
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
Last publication date
2024-02-29

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.