Skip to main content
Known Participant
Nov 28, 2022 1:14 PM UTC
Solved

Facing issue while reading 97-2003 version XLS file

I need to read and save data from XLS document. I tried using "Export excel to Database" smart service, but it is giving error "???The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with OOXML (Office Open XML) Documents. You need to call a different part of POI to process this data (eg HSSF instead of XSSF)???".

I also tried to convert the XLS document to CSV document using the "Convert excel to CSV" smart service and also tried to read XLS file in expression rule using fn!readexcelsheetpaging but still getting same error.

Is there any way we can read XLS document? 

mikes0011
mikes0011Answer
Brainy
Nov 28, 2022 3:55 PM UTC

The old format (prior to xlsx) uses a proprietary file format, which I'm not sure there's any way to read within Appian (though you could search in case anyone's made some specialized plug-in for it).  Otherwise I'd suggest opening the file in Excel and saving it as .xlsx format.

The Expression Guru

4 replies

harshj0001
Inspiring
Nov 28, 2022 1:48 PM UTC

I suppose that format which you are using is does not support by appian try with some other format.

Known Participant
Nov 28, 2022 2:02 PM UTC

We have a requirement to read xls file only.

mikes0011
mikes0011Answer
Brainy
Nov 28, 2022 3:55 PM UTC

The old format (prior to xlsx) uses a proprietary file format, which I'm not sure there's any way to read within Appian (though you could search in case anyone's made some specialized plug-in for it).  Otherwise I'd suggest opening the file in Excel and saving it as .xlsx format.

The Expression Guru
santanukumaru
New Participant
Oct 24, 2023 9:37 PM UTC
The plugin Excel Utility (https://community.appian.com/b/appmarket/posts/excel-utility) has a function readexcelsheetwithfilter() for reading XLS files.