Can I render a report from an arbitrary HTML template on the file system?
-
Do you mean API POST to /report?
-
yes, exactly
-
Thank you!
-
more fancy options that integrate with jsreport studio will need a custom extension, wait a bit for the jsreport v2 launch and you can have more details about implementing a custom store that get/save templates from your app
-
This is very common scenario. I call in this use case jsreport as stateless.
There are only few limitations. You cannot use for example child templates because those are being loaded from the jsreport store.
-
Interesting, I guess it wouldn't be a big stretch to enable all templates (main and child ones) to be provided as part of the content to make stateless approach even more powerful. Would you consider such a feature?
The main reason for us for managing reports outside of the jsreport server is to be able to put the templates under the version control.
-
Have you seen the version control extension?
https://jsreport.net/learn/version-controlEven without that, it is no problem to mount the jsreport data folder to your git/svn... version control.
-
Interesting, thank you!
How would one go about installing extensions on the SaaS?
-
you mean jsreportonline right?
The current model doesn't allow it.
However the version control will soon ship there together with whole jsreport v2.
-
since you've mentioned the v2 a couple of times, is there a release schedule for it?
-
Beta anytime, today, tomorrow....
Cannot promise when the production final release will be out.
-
FYI v2 beta released https://jsreport.net/blog/jsreport-v2-beta