Data reports are contributor-defined queries on tables or views within the underlying Oracle database.
Before you can add a data report, the Websheet application developer must enable the Allow SQL and PL/SQL attribute on the Websheet properties page. By default, this attribute is disabled. To learn more, see "Editing Websheet Properties".
Topics:
Data reports, unlike data grids, are query-only and based on existing data from the Oracle database. You can specify the table or view name and retrieve all columns or write an SQL statement to retrieve the required data.
Users can alter the layout of report data by selecting columns or by applying filters, highlighting, and sorting. Users can also define breaks, aggregations, group by, computations, and different charts. Additionally, users can create multiple variations of a data grid and save them as named reports, for either public or private viewing. You can also use the data from a data report and include it as a chart or report within any page.
You can create a data report by either simply entering the table or view name, or by providing a SQL query.
To create a data report:
Run the Websheet as described in "Running a Websheet".
From the Report menu, select New Report.
The Create Report page appears.
For Report Source, identify how to develop your source. Options include:
Table - Select Table and enter the following:
Table or View Name - Select the table name the report is to be based on.
Report Name - Enter the name of the report.
Report Alias - Enter a report alias. A Report alias is used for linking to the Report within page sections. A Report alias must be unique within an application.
SQL Query - Select SQL Query and enter the following:
Report Name - Enter the name of the report.
Report Alias - Enter a report alias. A Report alias is used for linking to the Report within page sections. A Report alias must be unique within a Websheet.
Query - Enter the SQL query that defines your report.
Click Next.
Confirm your selections and click Create Report.
To view or modify a data report:
Run the Websheet as described in "Running a Websheet".
From the Report menu, select View All.
The Report page appears.
Select the report.
The report appears.
To edit report attributes:
From the Manage menu, click Edit Attributes.
The Report Attributes page appears.
Edit the attributes and click Apply Changes.
To edit the report query:
From the Manage menu, click Edit Query.
The Report Query page appears.
To save your changes, click Apply Changes.
To delete a data report:
Run the Websheet as described in "Running a Websheet".
From the Report menu, select the report.
The report appears.
From the Manage menu, click Edit Attributes.
The Report Attributes page appears.
Click Delete.