Reporting Your Way
The Traditional Approach
The need to integrate a specialized reporting suite and connect it to your data and allow end-users to create, distribute and view reports in a unified fashion.
One of the primary requirements of business applications is to create, maintain and print reports. To achieve this, means the integration of a powerful reporting platform like the DevExpress XtraReports Suite. This, however, is not a simple task when you are targeting multiple platforms. Issues include the code you have to write for different platforms, organization of the reports within the application, associated commands to create and view reports, security and many others.
Additionally, many of today's most popular applications provide integrated data export (PDF, HTML, XLS, etc) and instant printing of information displayed in visual controls (such as the grid). Implementing a generic solution to do this is incredibly time consuming.
The XAF Advantage
Seamlessly integrates the award-winning XtraReports Suite with your data model and security system and allows end-users to create and share reports at runtime
XAF provides a built-in module that integrates the award winning XtraReports Suite. This module allows you to save reports in your database and display it for end-users on all supported platforms with little or no effort. XAF also includes a runtime designer which is fully integrated with the business model and allows end users to design custom reports and share them as needed. Generated reports can also be filtered based on security permissions.
And XAF automatically allows you to export and print data displayed in the UI controls within your app - no need to write any unnecessary code.
Reporting - How it Works
The reporting functionality in XAF is represented by the Reports Module. This module is based on the DevExpress XtraReports Suite. The award-winning XtraReports has been available for several years and is a mature reporting system with countless advanced features like an end-user designer (please note that this is currently a WinForms only feature), report creation wizards, built-in previews, data parametrization and mail merge, to name just a few. For a more complete feature description, review the XtraReports web page.
When creating a new report at runtime, the Report Wizard is invoked. It leads you through a series of steps in order to select different options necessary to bind data to the report, specify the fields to display and customize their appearance.
Once the Report Wizard has finished, you can customize the newly created report using the Report Designer.
A report can be viewed in Windows and in an ASP.NET application.
The following capabilities ship out-of-the-box in XAF's Reports Module:
Multiple ways in which to filter a report's data source.
Bind reports to individual Views. The list of bound reports is displayed for the current View.
In ASP.NET, a report can be previewed in mht, pdf, xls and rtf formats.
Reports can be exported to a number of different data formats.