Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How can i use the custom function writtern in routine in TDM Map?

Hi

 

I have a requirement of perform to mask one field (Account number) from the mainframe data while loading itself. i.e., between the input structure and output structure. I have written specific masking function in a routine. how can i achieve this in the Map. Please help.

 

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

4 Replies
TRF
Champion II
Champion II

On the right part (output) of tMap, just write:
yourClass.yourMethod(row1.inputField)
Assuming row1 is the input flow, inputField is the field you want to mask, yourClass is the class name you defined, yourMethod is the masking method which return a string.
Anonymous
Not applicable
Author

Hi, Thanks.

 

I need to call the function in the Map functionality in Talend Data Mapper (TDM). I am using TDM for importing the Mainframe data

TRF
Champion II
Champion II

Hi,
Did you watch this vidéo?
https://m.youtube.com/watch?v=sO8cCY_-Vos
Anonymous
Not applicable
Author

Thanks, it worked.