Generating multiple pdf reports #1099
Answered
by
TomKohoutek
yousefsedikdar
asked this question in
Help Q&A
|
hello devs, i am trying to generate reports for all the connections in my file without doing a for loop and use the extention method SaveReportPdfAsync(). the issue is GeneratePdfForMutlipleAsync() method returns void and i don't know if the API client saves those reports in a default folder. let me know if i'm doing anything wrong. |
Answered by
TomKohoutek
Feb 3, 2026
Replies: 1 comment 1 reply
|
Hello @yousefsedikdar , that is a good catch. We have a wrapper for the single PDF: but not for multiple. I will add it to the next client version. Let me know if that works for you. Regards |
1 reply
Answer selected by
TomKohoutek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @yousefsedikdar ,
that is a good catch. We have a wrapper for the single PDF:
await conClient.Report.SaveReportPdfAsync(conClient.ActiveProjectId, 1, "Report.pdf");but not for multiple. I will add it to the next client version.
As a workaround you can use this code: