Until now, you have previewed the business report output by using
sample data from the Sample Business Model in the data source. This lesson
shows how to generate a business report that contains data from the Catering
Business Model that is in your workspace.
- In the Modeling perspective, click .
- In the Report Configurations window, right-click BIRT
Report; then click New.
- In the Name field, type Catering
Business Model Report as the name for the new launch configuration.
- Specify the report to use: Select Location,
click Workspace, navigate to and click the report file,
and click OK.
- Specify the data to include in the report:
- Click the entry in the field for Data Sources.
This is the data source that your report design specifies. Clicking it displays
the instance model that your report design specifies. In this case
the instance model is the Sample Business Model.
- In the field for Instance Models, select
the entry for Sample Business Model, then click Remove.
You want to override the default entry and generate the report for the catering
model.
- Click the field for Instance Models and
click Add.
- In the Load Resource window, click Browse
Workspace.
- In the File Selection window, navigate
to and click Catering Business Model.emx.
- Click OK, and click OK again.
- Define how to handle the report output:
- In the Format field, select Adobe
Reader (PDF).
- Select the check box for Overwrite existing files
without warning.
- To generate the report, click Apply and
then click Report. The report opens
in Adobe Acrobat Reader.
You can now review the report for the Catering Business Model.
Compare the report with the model to see how the report presents model content.
Note: To
regenerate this report, rerun the launch configuration: Click , select the launch configuration, and click Report.
The
report should have pages similar to the pages shown in the following figure: