In the documentation (https://jsreport.net/blog/stopping-windows-rendering-support-in-jsreportonline#template-content-in-api-call), it is described that one could send the template content in the request. As far as I understand, it would be possible to also send the content of for example components as well. I'm just wondering how one could send the entire context in the jsreport request. Is it as simple as adding a key called "context" next to "template" and "data"?
Or isn't it possible at all?
Posts made by elvinlemmens
-
Send entire template context in request
-
Save data to custom request blob storage location
Hi all,
I want to be a setup a pdf rendering service that will serve for multiple customers. Ideally I would want the output pdf to be stored in a storage account, specified upon request (assuming we have all the permissions sorted out).
From the documentation, I can only find a way to configure the account settings beforehand.
Is there a way to do this?Bonus question: I would like to get the input data for the same request from a specific blob location as well, the location of the file and storage account info will be provided in the request instead of the data.
I figure we could do something similar to what is explained here: https://jsreport.net/blog/pdf-reports-in-sql-server#prepare-input-data-source, but instead of retrieving the input data from sql, we would get it from a blob store.Maybe pushing the output data to a blob store can be done in a similar way, using an afterRender function?
Thanks in advance, Elvin