Issue with Renaming Excel Export in IE/Edge
Issue with Renaming Excel Export in IE/Edge
I'm currently running in to an issue with exporting data to Excel using the Buttons plugin in Internet Explorer. It's being caused by the limited options in the Save as type dropdown. When I attempt to export it, the default file name is the title of the page I'm on plus .xlsx; if I change nothing and just hit Save, it works. However, if I attempt to rename the file I have to manually add the extension because the Save as type is All Files (.) and there are no other options. So if a user who doesn't realize they have to add the file extension does this, it saves it as a plain File instead of a worksheet.
Compare this to Chrome that works perfectly because the Save as type is Microsoft Excel Worksheet, so it doesn't need the file extension added. Is this something that can be fixed in the code or is it a limitation of the browser?
Here's a plunker displaying the issue: https://run.plnkr.co/7N1FO81fniihmfqZ/
Answers
Hi,
Thanks for posting this and transferring it from GitHub. The plnkr appears to have expired, but I'm going to guess you are using the Flash buttons - is that correct? I'm basing that guess on the fact that IE11 will save an xslx extension for me even if I delete it.
If this is the case, then unfortunately that is a limitation in the Flash API for saving local files. There are a few other discussions about this in the forum and I'm afraid I can't see Adobe fixing it any time soon (actually - I can't see it ever being fixed now that Flash properly dead).
Allan