The reason for the latter is because I need to find a way to detect when the page is rendering if its being rendered as HTML or to a PDF. If its HTML, I don't need to set the width of the highchart, if its a pdf, I do need to set the width. So being able to debug the chrome process remotely would be ideal to figuring out if there's a way to detect or infer that its being rendered in either format.
Ok, this worked out very well for me.
I had some quirk, with css being applied differently between my hard coded footer and the dynamically assembled footer, but I got around that.
Just not sure what happened
I have a bunch of legacy PDFs that were created by the system we used before jsreport, but i will still need to have somewhere and serve up for a period. Could i import them in using the odata api maybe or do i just copy the files over into the storage folder and jsreport will automatically pick them up - the documentation is kinda thin on this?
The report consists of Report entity and blob. You can create a Report entity using OData POST and create the respective file representing the blob.