Share via

Use format parameter in report URL

mark goldin 706 Reputation points
2021-11-18T20:41:30.757+00:00

I know I can specify a format paramter when I navigate to an ssrs report. But would it work if I use Report Viewer - no SSRS Server.

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.

0 comments No comments

Answer accepted by question author

Olaf Helper 47,621 Reputation points
2021-11-19T07:33:13.39+00:00

no SSRS Server.

No SSRS Server = no URL at all to access a non-existing SSRS Server.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Joyzhao-MSFT 15,651 Reputation points
    2021-11-19T02:35:08.23+00:00

    Hi @mark goldin ,
    You can not pass format parameters via the URL since the control is expecting on the URL to the actual reportserver and nothing more. The ReportViewerControl ReportServerURL property is a lot different than formatting a general URL to access a report.
    One way you could try is to navigate a web browser control to that URL which would also render the report within your web app. I only found cases where parameters were added in this way. I'm not sure that format parameters can be set in this way.

    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    Was this answer helpful?

    0 comments No comments

Your answer

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