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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to give column names through context

hi,
I have one tfileinputdelimit--->tjavaflex
tfileinputdelimit has columns id,name,age,amt.
i have to add "amt" column data to a list in a generalized way. that means by entering column name through context, we should get a resultant list contains the values of column "amt"( which is specified through context variable).
now i am doing like this,
inside of tjavaflex
---------------------
list1.add(row1.amt);
but, instead of this column name "amt" should be given through context parameter, such that resultant list contains "amt" column data.
can any one suggest me how to achieve it?
Labels (3)
10 Replies
Anonymous
Not applicable
Author

Have you got any solution to resolve this issue.If so please share me aslo.