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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Loading files from classpath instead of file system

I want to create a job as a webservice to deploy it on an application server.
The job will query a database and generate an Excel output.
The tFileOutputExcel component allows to specify an excel file which already has the header and layout information. Nice.
To be compliant with J2EE specifications, I cannot use a filessystem path.
I 'm thinking of some tResourceInput component to fetch a file as an input stream and to make tFileOutputExcel accept an input stream for the template.
Writing the result to an output stream is already possible.
Is there a way to get this template Excel from the classpath or an URL so I can package the excel template together with the job or in a separate war ?
Thanks in advance for any help.
Labels (2)
1 Reply
Anonymous
Not applicable