Articles in this section
Category / Section

Can specify ReportServer URL in Web API controller?

Published:
Updated:

Yes, you can specify the reportServerUrl property in Web API controller as shown in the following code snippet.

[NonAction]
public void OnInitReportOptions(ReportViewerOptions reportOption)
{
  reportOption.ReportModel.ReportServerUrl = "https://testing.SSRS.Server.com";
}
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied