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

tJavaFlex and Rest

Hello

I want to get the name of a file in a url: http://localhost:8088/references?fileName=toto.txt
and put it in tJavaFlex instead of the "D:\test2.bak" file location.
my initial code on tJavaFlex: 

Bak bak = BakReader.getInstance().read("D:\test2.bak", "utf-8");

Thanks 

Labels (3)
3 Replies
Anonymous
Not applicable
Author

have you any solution please ?
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

thanks for your response.

I want to get toto.txt from the url as parameter to replace the file location in tJavaFLex.

My code initial in tJavaFlex today is:

 Bak bak = BakReader.getInstance().read("D:\test2.bak", "utf-8");

my url : 

http://localhost:8088/references?fileName=toto.txt.

What I want is: 

Bak bak = BakReader.getInstance().read("D:\toto.txt, "utf-8");

Thank you