Re: Problems with Rendering each loop Iteration using {{#each data}}
Ok this is resolved now I had some unclosed div tags in my template causing the issue
Re: Problems with Rendering each loop Iteration using {{#each data}}
Ok this is resolved now I had some unclosed div tags in my template causing the issue
I am having issues with using the {{#each data}} {{/each}} to render each iteration data on a new page . It overlaps the on the previous iteration data . Please help me out with this thanks. The link to my playground is below . Cheers
How come I can't find the component feature in my studio? Please how do I get it?
Okay, so I can't share the particular dataset I'm working with it's on a private server, however, maybe a description of the scale can help.
So imagine a dataset that generates a template with 20 to 30 full content in letter-size pages including some infographics. And all that data is passed dynamically using an API. From my experience running the render command, it takes at least 3mins or 4 for the report to render as against less than a minute for a two-page report
How can we make the rendering of reports faster when working with large data sets . Any suggestions as to coding paradigms will be appreciated.
ok so apparently I had to change my login details to another account belonging to our team. However now I can't view the request data it brings up the error message when I try.
From what appears here on my startup page it means all the calls to my template stockrecon have not been received because I made a call to this jsreport.serverUrl = "https://vnicom1.jsreportonline.net/" today
this is the request data input from the online instance of the jsreport . This from running the report online but how do I see data from the external calls?
New Problem being experienced .
Issue resolved thanks so much . I was downloading as well as opening new window to render . Apparently you can only do one
The open window is not working only download is working
browser client cdn
<script src="https://unpkg.com/@jsreport/browser-client/dist/jsreport.umd.js"></script>
In using the browser cdn client I noticed that I could not open the rendered pdf in another window using the window.open(renderedpdf) (I was using the blob constructor to do this)
jsreport.serverUrl = "https://hostserver.net/"
jsreport.headers['Authorization'] = "Basic " + btoa("email@gmail.com:password")
console.log(jsreport.serverUrl )
const report = await jsreport.render({
template: {
name: 'stockrecon'
},
data: {
someData: data
}
});
const pdfBlob = new Blob([ report.content], { type: 'application/pdf' });
const pdfUrl = URL.createObjectURL(pdfBlob);
window.open(pdfUrl, "_blank");
. I could however download the pdf using report.download('renderedpdf.pdf'). Please can I get any help in this regard?
Thanks alot @bjrmatos this worked perfectly for me .
@jan_blaha thanks alot for all your responses . However with this particular link i followed through with the online example but it did not render my qrcode in the specified div . The link to the example is here .
https://playground.jsreport.net/w/admin/q7MtIkV7
And my script in my template is here below
What is the equivalent of the DOM in the template and how can one access it in the helpers functions
Hello, good day. Just saw this. Please is the role still open? I'm interested .
My name is Charles-Clement Avul.