question

Zolotoy-3922 avatar image
0 Votes"
Zolotoy-3922 asked Joyzhao-MSFT commented

SSRSS report - generate PDF using url parameters

I am not using a report server, but rather the ReportViewer. Can I still generate a report and automatically convert it into PDF?

Thanks

sql-server-reporting-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Joyzhao-MSFT avatar image
0 Votes"
Joyzhao-MSFT answered Joyzhao-MSFT commented

Hi @Zolotoy-3922
Unfortunately, the URL call is based on the report server.
So if you just want to download reports from Report Viewer, there are icons on the ReportViewer that can be saved directly.
If you use a report server and you want to obtain a PDF copy of the report directly from the native mode report server, you could choose to use the rs:Format URL parameter to specify the format of the report:

 https://myrshost/ReportServer?/myreport&rs:Format=PDF

HTML4.0 and HTM5 formats (rendering extensions) will be rendered in the browser. For other formats, the browser will prompt to save the report output to a local file.
Best Regards,
Joy


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No, I need to download it automatically.

0 Votes 0 ·