Export a dataset/dictionnary to excel and PDF in perspective


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

Do you have a solution ?


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.