SSRSS report - generate PDF using url parameters

Zolotoy 226 Reputation points
2021-05-17T15:07:40.8+00:00

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
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,061 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joyzhao-MSFT 15,631 Reputation points
    2021-05-18T02:34:29.04+00:00

    Hi @Zolotoy
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.