Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
140880 | Nov 12,2018 11:25 PM UTC | Nov 14,2018 12:45 PM UTC | PHP | 3 |
![]() |
Tags: ReportViewer |
<?php $reportviewer = new EJ\ReportViewer('territorysales_reportViewer'); echo $reportviewer->reportServiceUrl("http://js.syncfusion.com/ejservices/api/ReportViewer" )->processingMode("Remote")->reportServerUrl("http://mvc.syncfusion.com/reportserver")->reportPath("/SSRSSamples2/Territory Sales new")->render(); ? |
<div class="cols-sample-area">
<?php
$reportviewer = new EJ\ReportViewer('groupingaggregate_reportViewer');
echo $reportviewer->reportServiceUrl("http://localhost:62610/api/ReportApi" )->processingMode("Remote")->reportPath("GroupingAgg.rdl")->
reportServerUrl("http://syncdeskn6533/ReportServer")->reportPath("/HyperLink")->render();
?>
</div> |
public void OnInitReportOptions(ReportViewerOptions reportOption)
{
//provide the SSRS server login credentials as shown in below line
reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("ssrs", "RDLReport1");
//if datasource is shared datasource then please provide datasource credentials as shown in below line
reportOption.ReportModel.DataSourceCredentials.Add(new DataSourceCredentials("AdventureWorks", "ssrs1", "RDLReport1"));
} |
What I'm getting at is let's say the report server API was on in the cloud and the report server was on a local intranet not accessible to the report server API, this will not work correct? The report server API has to have connectivity to the SSRS report server correct? |
Yes, your assumption is correct, We need service API to have connectivity with the SSRS report server to get the report.
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.