File format and extension of ‘Filename’ don’t match. The file could be corrupted etc…
I have tried a suggested name with extension .xlsx and xls and no extension with all ending in the same result. Does anyone know what format ignition is writing the file as? Is there a way to work around this? I’m using ignition 7.8.5
Thanks. I ended up using the dataSetToExcel instead of the exportExcel function which gives the same error but actually opens the excel file. How do I add the Tag suggested in the post? I get a no viable input ? when I try to add it to the beginning of the filename.
system.dataset.exportExcel, the subject of this post, was overhauled in 8.0.7 (at the same time as we introduced system.dataset.toExcel) to properly return a well formatted XLSX document. Are you writing the file with an XLS extension?
The file does open and once opened it will be able to open from that point on without the error. But this happens each time a new file is first downloaded.
Is your Vision module up to date? Does it only happen with the openURL call - i.e., if you manually open the file does it still 'alert' you the first time?