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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

XLS or XLSX files

Hi,
I receive (by tFTPGet) excel files to read with Tos. These excel files can be xls ou xlsx.
I must open each excel files with tFileList+tfileInputExcel to read the first line of each file for a tSetGlobalVar.
Is it possible, in a tFileInputExcel to read indifferently the both format ?
Thank you for answers,
Quartz
France,Paris
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi Quartz,
Unfortunately you cannot determine the type of excel file Talend is reading in runtime. This is because other code is generated for xlsx than there is for xls.
You could however split the job, choosing a lane for xls and another one for xlsx. If the schema of both files is the same you could output both to an tHashOuput or an intermediate file, and then rejoin them later on.
Hope this helps!
Regards,
Arno