Hi Jan,
I've since fixed the problem. The issue was I wasn't reading a template excel file in this line:
content: fs.readFileSync('Book1.xlsx').toString('base64')
Hi Jan,
I've since fixed the problem. The issue was I wasn't reading a template excel file in this line:
content: fs.readFileSync('Book1.xlsx').toString('base64')
I don't attach an xlsx template to jsreport.
Here is the request I send to jsreport. It's currently working with 2.6.1:
template: {
name: 'cumulative-report-html',
recipe: 'html-to-xlsx',
engine: 'handlebars',
htmlToXlsx:
{
templateAsset: {
content: 'base64 encoded word file';
encoding: 'base64';
}
}
data: (json records)
}
What I'm doing is:
Currently, I am able to send the JSON via API on version 2.6.1, but not from 2.7.0 onwards. The only way for me to create a complete excel report on versions > 2.6.1 is if I directly copy the JSON into jsreport as data. I can't send it using the API.
Here's a screenshot of the stack trace. I would submit it as text using the code formatting, but unfortunately I don't know how in this forum:
Hello,
I am in the process of updating my jsreport instance from 2.6.1 to 2.11.0.
I am attempting to run an html-to-xlsx template on a local instance of 2.11.0 which worked in 2.6.1, but I get "invalid signature: 0xeb1eab6d" whenever I try to send the report to my local jsreport setup via API.
Is there a way to see what's in the logs via API?
Hi,
I recently created a report that is being created daily by multiple machines. I would like to be able to see every request made to jsreport somewhere on the dashboard, but right now I can only see the 5 most recent ones. Is there a way to see all of them somewhere?