System.dataset.exportexcel problem

Is there a permission or security for system.dataset.exportExcel?
the fileName i wish to have is not displaying
It should be like this “WPRIMAL04_27_2020.xls”

table = event.source.parent.getComponent(‘warehouseTable’)
fileName = “WPRIMAL” + str(system.date.format(system.date.now(),“MM_dd_yyyy”))
print fileName
filePath = system.dataset.exportExcel(fileName, 1, table.data)
if filePath != None:
system.net.openURL(“file://”+filePath)

image

Hello, what version of Ignition are you using ?
I had the same problem with Ignition 8.0.0 but upgrading to a newer version corrected that bug.

Ahh okay thanks
i am using a trial version and a license one
so maybe the license version is outdated i guess
thanks you