does the number of connections grows infinitely?
The library jsreport uses for making postgresql requests is using connection pooling. This means that a number of connections are kept open and reused by other requests.
That's me that must thank you for your immediate reply :) It's not common to receive support within minutes.
Actually, I made it working.
Apparently the bug was in my chart data: I was setting options for the axis (yAxes and yAxisID) with a Chart.js version (2.1.6) that probably didn't not support them yet...I'll try to use a more recent version of chart.js and see if it works.
Yes, that worked. Thank you.
I'm using jsreport.Local and jsreport.Binary in a c# app, It throws " Error rendering report: rendering has finished with errors:Error during rendering report: Asset modeka.otf not found "
My folder structure is as below
mainfolder > jsrep > assets > Modeka.otf
hi! what recipe are you using? can you provide code to reproduce your problem? the problem is likely to be in your routes.. also remember that if you just want to reference an image that will not change you can also use assets
Is it possible, through your API, to render a report passing custom parameters and email recipients?
with our API you have full control of every part of the rendering, this includes rendering reports based on dynamic data, for your case i think you have the following options:
reports based on dynamic parameters
you can use the parameters of the user to call your custom api endpoint (the request will happen in your backend) to gather all the data that your report template need, and then call jsreport http API (or any other method you want) to render the report with the collected data.
you can use the parameters of the user to call your custom api endpoint in jsreport's beforeRender script (this time the request will happen in jsreport app) , in this hook/event you can call your api and use the response to populate the data that jsreport will use to render.
handling scheduling on your own, using any external scheduling mechanism you want, maybe something you have built in-house that your apps are currently using, and just call jsreport using our http API (or any other method you want) when the time to render comes.
handling scheduling with jsreport using our scheduling extension and if the time of scheduling needs to change (because of user have changed it with your interface) then just call jsreport http API to update the definition of the scheduling.
you can use any external method to send the email to users, maybe something that you are already using in your apps
you can use jsreport's afterRender script to send the email, in this hook/event you can send the email using some node.js module or you can do a http request to some email service that does this job.
what you choose depends just in what way you want to work, jsreport is intentionally flexible to not lock specific use cases of the user.
hi! as far as i know such feature is not possible in any recipe at the moment, this is because most recipes use technologies that work with PDF at a high level (phantomjs, electron, wkhtmltopdf).. but creating interactive forms requires some low level manipulation which such technologies does not provide.
jsreport authorization extension implements permission rules evaluation and delegation with single object granularity. Every user previously created by authentication extension is only authorized to manage objects created by himself by default. If the user wants to share an object with another user he needs to explicitly set this up in the permissions form. jsreport can currently distinguish only between read and edit permissions where edit permission represents all operations including permission delegation.