|
Reports |
Top Previous Next |
|
Reports are designed to display data in a graphic, printer-friendly format. In most cases, reports are created by users similarly to alerts, queries and other system objects. However, some reports are pre-configured in the system distribution and can't be changed by the user. These reports are built into the the AggreGate distribution package and extension plugins.
Every used-defined report is characterized by two important properties:
The Source Data Expression is an AggreGate Expression that is evaluated every time when report is run and shown to the user. This expression must evaluate to a Data Table. An error condition will occur if this expression evaluates to any primitive type, such as Boolean, Integer or String. Data from the Data Table produced as result of the expression is used to fill in the report template and prepare the report. This expression may not contain any relative references to the default context, default Data Table etc. In most cases, it will contain a single reference to some server variable or function. When the expression is evaluated, this reference is resolved to a Data Table containing the value of a variable or the output of a function.
A Report Template defines page layout and different transformations that are applied to the source data when report is run. The report template is defined in XML, and stored as a property of the report. The Report Template is automatically generated during report creation. This auto-generated template is based on the data that fetched by the Source Data Expression. There are two ways to modify the template of an existing report:
Reports are compiled, filled and processed by the JasperReports engine. You can refer to Jasper Reports documentation for more information on template structure, available elements and their properties. Viewing Reports A reports is accessed using its Show Report context action. This action asks for parameters, fills the report template with data retrieved from various contexts and presents the user with a prepared report:
A report may be printed or exported to a file. See the Show Report UI Procedure for details.
Every report has several properties:
These properties may be accessed through the childInfo variable. Built-In Report The basic LinkServer distribution contains just a single built-in report, called User Accounts. It contains information about all LinkServer user accounts accessible by the user who is viewing the report:
|