Export a dataset/dictionnary to excel and PDF in perspective

Hi,

The function system.dataset.exportExcel doesn’t work in perspective (in a script button).
Error message below :

Do you have a solution ?

Thanks,

As in this thread:

Use system.dataset.toExcel to transform your dataset into a byte array. Then pass that to system.perspective.download to trigger a download request on the local browser.

1 Like

Ok it works.
Thanks