I’ve been trying to get the excelxport plugin to work, but I think I’m missing something.
There’s a foundset on my form and then I run this script:
var fs, dp, file, bytes;
fs = forms.form_report.foundset;
dp = ["debnr","company_name"];
file = plugins.file.showFileSaveDialog("ServoyExport.xls");
bytes = plugins.excelxport.excelExport(fs, dp);
plugins.file.writeFile(file, bytes);
It prompts to save the file but when I open the Excel file there’s ony the header with the specified column names and no data.
What am I doing wrong?
Regards,
Marco