Search results
Suggest a FeaturePDF

Can specify ReportServer URL in Web API controller

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";
}