Skip to main content
A newer version of this page is available. .

Report Service Life Cycle

  • 3 minutes to read

During the life cycle, a report service may pass through several stages that serve different aspects of server-side report management. This document lists the main operations exposed by the report service, and describes how to customize report service functionality at different stages within a life cycle.

Common Concepts

All stages of the report service life cycle serve the report publishing (report preview, print, and export) purpose.

Each stage of the report service life cycle is maintained by a set of service operations.

Some of the operations are long running (e.g., building, printing, and exporting). Before trying to obtain the result of such operations, you need to check if the operation has finished. For each long running operation there is a method allowing you to check its status.

Publish Reports

This section describes the stages of the report service life cycle that are related to report publishing. These stages include the preview, print, and export functionalities.

Prepare the Print Preview

At this stage, the document to be displayed in the preview is built on the server side.

If the IReportBuildInterceptor extension is implemented, its methods are called to process a report before and after building a temporary document from it.

If the IDocumentDataStorageProvider extension is implemented, its properties determine settings to store a temporary document generated from a report at this stage.

To obtain a report from the server using a custom name, implement the IReportResolver MEF extension.

You can provide a separate storage for the document’s binary data by implementing the IBinaryDataStorageExtension extension.

At this stage the document is printed.

Export Reports

At this stage, the document is exported to one of the supported third-party formats.

If the IReportBuildInterceptor extension is implemented, its methods are called to process a document before and after it is exported to a third party format.