Forum Discussion
Export a report from PBI Server
- 6 years ago
Yes this is possible and you don't even need much code. The simplest way to do this is with URL parameters using the ReportServer endpoint (see https://docs.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-server-ver15)
Passing the url parameters something like the following would get you a PDF:
http(s)://<server>/ReportServer?<pathToReport>&rs:Command=Render&rs:Format=PDFAnd if your report has parameters you can pass those in on the url also.
Yes this is possible and you don't even need much code. The simplest way to do this is with URL parameters using the ReportServer endpoint (see https://docs.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-server-ver15)
Passing the url parameters something like the following would get you a PDF:
http(s)://<server>/ReportServer?<pathToReport>&rs:Command=Render&rs:Format=PDF
And if your report has parameters you can pass those in on the url also.
- JeremieB3 years agoFrequent Visitor
Is it possible to specify an file name for the exported pdf file?