Dynamically selecting the preparation from Talend Data Preparation
-
In the design workspace, select tDataprepRun and click the
Component tab to define its basic settings.
-
In the URL field, type the URL of the Talend Data Preparation web application, between
double quotes. Port9999is the default port for Talend Data Preparation. -
In the Username and Password
fields, enter your Talend Data Preparation connection information, between
double quotes.Note: If you are using Talend Data Preparation Cloud, you need to use your Talend Data Preparation Cloud login instead of
your Talend Data Preparation
email. -
Select the Dynamic preparation selection check box to
dynamically define the preparations with their paths in Talend Data Preparation rather than their technical
ids. -
In the Preparation path field, enter
"customers/"+((String)globalMap.get("tFileList_2_CURRENT_FILE"))+"_preparation".This expression is made of three distinct parts. In the path,
customersis the folder in Talend Data Preparation where the preparations are
kept. As for the preparations names, because they are partly reused from the
local sub folders names, you will use this expression to retrieve those sub
folders name from the tFileList_1, and attach the
_preparation suffix. -
In the Preparation version field, type
current between double quotes, in order to use the
current version of the preparation. -
Click Sync columns to retrieve the schema of the
previous component.
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments