Hello,
Is it planned for future versions of xlsxAddImage to support specifying a height and width instead of a cell range?
Thank you
Posts made by Pablo Hach
-
xlsxAddImage dimensions
-
jsreport-core and custom extension
I have created a custom extension,
the extension is located in the "extensions/entities" directory.
When i useimport JsReport from 'jsreport'
jsreport finds it automatically, but when I use
jsreport = require('@jsreport/jsreport-core')(jsReportCfg)
i can load another extensions with
jsreport.use(require('@jsreport/jsreport-assets')())
but I can't find a way to load my custom extension.
I hope you can help me with this, thank you very much!!
Regards, Pablo
-
RE: is it possible to create my own collections in documentStore
Thank you so much!!!
-
is it possible to create my own collections in documentStore
is it possible to create my own collections in documentStore?
if not, It is possible to use the connection that jsreport creates with mongo?
I need to add collections
Thank you so much!!! -
RE: how to get the Location when sending parameter async=true in jsreport.render?
It worked! Thanks!
Pablo
-
how to get the Location when sending parameter async=true in jsreport.render?
When I sent this request
const result = await jsreport.render({ template: { name: '/generic/generic-report', recipe: 'chrome-pdf' }, options: {reports: { save: true, async: true }} })
I do not get Location or a report id (to manually generate location), only result.content has the string "Async rendering in progress."
Any ideas?- How to get the Location or the generated id?
- Send as parameter an id generated by me? How would you send it?
Thank you so much!!!
-
RE: Passing beforeRender funtion in template
Thank you!!!
Sorry, I didn't see it in the docs.
Pablo -
Passing beforeRender funtion in template
Hello,
is it possible to send a "beforeRender" function as parameter in jsreport.render template?
I put it in helpers but it didn't work.const helpers = "function beforeRender(req, res) { console.log('beforeRender from helper !!!!!!!!!!!!!!!!!!!!!!!!!!'); return; } " const result = await jsreport.render({ template: { name: '/generic/generic-report', recipe: 'chrome-pdf', content: template, helpers: helpers }, })
Thank you so much!!!