@psutton00 i feel you, no browser out there support the Paged media module completely (except for the weasyprint engine, but they lack other features too, seems like they chose the trade off of having really great support for the Paged module but sacrificing latest CSS, JS features), and if they do, things will be really more simple to do. our best chance here is chrome, hopefully one day they will see how many people are interested in this CSS feature, until then we just have to use ugly workarounds.
A good way to improve (and save you time, maybe?) the table could be to let people be aware they can provide inputs they might be looking for?
Also, while I see that header and footer might not be supported by some receipe, how about their capacity to handle page numbers? and maybe how they do to handle it? (while I did proceed with phantom-pdf and wkhtmltopdf I cannot tell yet how about doing it with electron-pdf for example)
Again thanks a lot for your time!
If you need some help for testing count me in too!
FWIW - I figured it out - at first I tried "http" and "[http]" for AllowedModules - but that didn't work for some reason, but * does work - the example should be something like this
You can also use .Configure(cfg =>cfg.AllowLocalFilesAccess()) instead. You can see here it does the same.
FWIW - I also think you should change it so the jsreport folder gets created in the project folder instead of in the bin folder - then it would be easy to keep everything in version control as well as in your database.
Thank you for recommendation.I will give it again some thoughts. For now I consider running jsreport studio and web server through jsreport.Local as advanced scenario which requires some additional configuration. Like you have done.
The @bjrmatos suggestion is the most common implementation.
However I just add two additional options you have:
Expose a REST API in your application and use jsreport custom script to fetch the data from it.
If you for some reason really need to connect report directly to the db, you can also use AWS lambda or Azure function to do so and request it from the jsreportonline.
hi! we have a browser client that let you invoke a report and show it in the browser automatically, you can use that instead of writing your own logic to do it. if you are still curious of how to do it on your own you can take a look at the source code of browser client
we are planning to replace phantom with chrome as the default engine for jsreport, here is the recipe ready for use (it requires node 8 btw) if you want to experiment. we are just waiting that Chrome headless mode become more stable and eventually to support pdf header and footer (unfortunately at this point phantomjs is the main engine that only support pdf header and footer natively) to make this the default.
Disabled Categories are greyed out
This topic will be moved to the category
Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.