In this case study, we will demonstrate how to render a report in a Perspective which is similar to the Report Designer using Action. We can continue using the Perspective created in Case Study 1.
Next. For the datasource, we will use FruitSales.ds
(available in /ElixirSamples/DataSource). Click Next.
As for the report type, we will use a Standard Report, Tabular Report. Click
Next. For simplicity, we will use all the fields in FruitSales.ds.
To move the fields to the Report column all at one go, you can click
on the second button from the top. Click on Finish to exit from the wizard.
Edit Content wizard, click on the empty field
under Mapping, then click on the ... button. In the
DataSet Chooser wizard, click on the View tab. Select
FruitSales, then Selected. Exit the
DataSet Chooser wizard by clicking on Ok. Exit the
Edit Content wizard by clicking on Finish.
Perspective
tab. At the Action tab, click on the Add icon and the
Action Wizard will appear. For the View and Content, select
Fruit Report. For the Event, select
doubleClick. For the Type, select
Render Report. For the View, select
Fruit Report. Exit the wizard by clicking on the
Ok button. With this, the report template will display records selected
from FruitSales, and you can render the report by double-clicking.
Finish.