[BUG-11875] Error when exporting a Power table into Excel

When I use a button with scripting:

table = event.source.parent.getComponent(“PT_PS”)
filePath = system.dataset.exportExcel(“data.xls”, 1, table.data)
if filePath != None:

In 7.9, I can get an Excel file successfully. However, in Version 8, it gives me a blank file and can’t open the file. Any help will be highly appreciated.

Known bug. The file extension is being left off. The work-around is to type in the extension, too.

Is there anyway to add file extension inside the scripting?

This issue was fixed in the 8.0.3 nightly build that was uploaded on 6/29.