GetMapProperty - 8.0

Talend Data Mapper Functions Reference Guide

Version
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
Design and Development > Designing Jobs
Last publication date
2023-10-26

Returns the specified map execution property.

When a map is executed, properties may be specified to pass small amounts of arbitrary data available during map execution. In addition, there are some Map Execution Properties available.
  • When using the tHMap component, all of the context variables are set as map execution properties. When using Camel (including the cMap component), the exchange's inbound headers are set as map execution properties.

    To use this function, double-click it and then enter the name of the map execution property, without quotes, in the Property Name field of the Expression GetMapProperty Properties dialog box that opens.

  • You may also use defined properties for the execution of a map in Test Run mode. To use this feature, define the properties in a specific file stored in the Data Mapper > Hierarchical Maper > Sample Data folder, for example test_run_properties.csv. Define the properties with keys and values separated with a semi colon delimiter (one key/one value per line). These defined properties are then loaded to the map execution context before executing Test Run.

    Note:
    • Ensure that you only have one properties file in the Sample Data folder.
    • For variables defined in Talend Studio contexts, add the context prefix before the name of the variable in the test_run_properties.csv.
    • You can change the name of the execution properties file and the delimiter in the Test preferences.

    For more information on enabling the Test Run feature, see Test preferences.

Properties

Property Name Enter the name of the map execution property to return.