Generate several sheet with one template #3899
Unanswered
flefloch-payps
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have actually a template which I use to generate invoices like this :
This single export is working fine, I update my template with my dynamic data and I finally generate the file.
But now I would like to generate 2 invoices with the same template with 2 different set of dynamic values.
If I simply add a loop in my registerEvent function I will only receive the last set since it will overwrite the previous set of data.
How can I acheive that ? I could generate 2 different files, reopen them and merge them into a single file that my endpoint could return but that seems a bit uneffective.
Is it possible, during the generation process to duplicate my template everytime need it and then generate my file in a single call?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions