Skip to content

DevExpress-Examples/xaf-how-to-create-and-setup-an-xtrareport-report-for-exporting-to-a-stream-in-a-non-xaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF - How to create and set up an XtraReport report for exporting to a Stream in a non-XAF application

This example illustrates how to access an XAF report stored in the database and populate it with data in a non-XAF application.

Since XAF stores reports in the database and XAF reports use Object Spaces to retrieve data from the database, it is necessary to connect to the XAF database and create an Object Space to use XAF reports in a non-XAF application.

Implementation Details

  1. Create a custom class that implements the IObjectSpaceProviderFactory interface. Please refer to the CustomObjectSpaceProviderFactory.cs file for implementation details. This class is used as a service to create IObjectSpace objects on demand.
  2. Create the ServiceCollection to register required XAF services and your CustomObjectSpaceProviderFactory service.
  3. Use the IReportExportService service to load and prepare a report.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •