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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Setting a context variable with a value contains one ROW of database using tJava

How to set Context Variable from tMap which fetches the Row.File_name from databse such that  i can use that Context Variable in tFileInputExcel as a File Name 

 

ScreenShot of Problem has been Shared Below0683p000009Lybw.pngWant to set row1.file_Name in Context Variable0683p000009Lyfd.pngOutPut contains File Name and Date want to set FileName as Context Variable such that i can use that fileName in any component 

OutPut contains File Name and Date want to set FileName as Context Variable such that i can use that fileName in any component

Labels (2)
12 Replies
manodwhb
Champion II
Champion II

@meetmahajan,you can create belwo way also.

0683p000009LyM8.png

manodwhb
Champion II
Champion II

@meetmahajan,context load.Transfer field should be created in context tab with sting type.

 0683p000009Lyfx.png

 

Anonymous
Not applicable
Author

Thank You so Much @manodwhb, for your Precious guidance, it worked properly.

Thank @abhishek for solution 0683p000009MACn.png