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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Getting row-Vars in tJava

Hi together,


in the tMap-Componente there are several row-Vars, but when i show them in tjava with 

System.out.println( "row2 from tMap: " + row2.toString());




all vars are "null"  - in a following logrow the vars will be shown.

Any idea whats wrong?`

Labels (2)
10 Replies
Anonymous
Not applicable
Author

Use a tFlowToIterate component connected to the tMap. Then connect the FTP component to the tFlowToIterate using the Iterate connector. The tFlowToIterate component will create globalMap variables with the format {rowname}.{columnname} which can be used. So if your row connecting the tMap to the tFlowToIterate is called "row2" and your column name is called "column1", a globalMap variable with a key of "row2.column1" will be created. You can access this in the ftp component with ((String)globalMap.get("row2.column1")) ......assuming it is a String value.