This page shows how to get started with Wijmo's ReportViewer control.
Steps for getting started with the ReportViewer control in JavaScript applications:
The C1 Web API Report Services uses C1FlexReport to render and export report. Please refer to How to Set Up C1 Web API Report Services for details.
To show the content of FlexReport from C1 Web API Report Services, set the following basic properties:
The 'ReportsRoot' is the key of the report provider which is registered at server for locating specified report.
The 'Formatting/AlternateBackground.flxr' is the relative path of the FlexReport definition file which can be located by the report provider.
The ReportViewer control can also show SSRS reports.
The C1 Web API Report Services uses C1SSRSDocumentSource to connect with an SSRS server and render SSRS reports. It first fetches data from the server, then converts the report to the desired format (normally HTML5 SVG). Please see How to Set Up C1 Web API Report Services for details.
To show the content of SSRS reports from C1 Web API Report Services, set the following basic properties:
The 'c1ssrs' is the key of the report provider which is registered at the
server for specified report (for '',
'c1ssrs' is the key of the report provider which links to the SSRS server 'http://ssrs.componentone.com:8000/ReportServer').
'AdventureWorks/Company Sales' is the full path to the report on
the server.
The ReportViewer control has the following four basic properties which allow you to customize its appearance and behavior:
The example below allows you to see what happens when you change these properties.
ReportViewer automatically updates the report when the value of the filePath or reportName properties change.