Report Template Concepts
A report template is a report without the dynamically retrieved data. A template can contain text, tables, charts, images, etc. It does not contain any runtime data, such as a user defined painter classes, components and table lens objects linked to external data sources.
Its main purpose is to capture the statically defined report attributes and, optionally, the data queries used at runtime to retrieve the report data. It helps to simplify the programming required to generate a report. Since a report template is normally created with the visual Report Designer, it involves no programming effort. By taking advantage of report templates, reports do not need to be created entirely by a program at runtime. Instead, the static part of a report can be captured and stored in a separate template file. If data is supplied from a data source not supported in the Data Modeler, then the program that uses it only needs to supply the dynamic data used inside the template.
If a report template is used, is there any need to write code to set up and change report attributes? In most situations there should be almost no need to write code to develop sophisticated business reports. However, the Designer may prove inadequate when advanced data processing logic, or data from an unsupported data source, is required to generate a report. In this situation (although extremely rare) it may be necessary to use the reporting API. It is therefore necessary to understand the API and how each property works. The visual design environment provides a convenient way to set up a report and its elements, but in certain circumstances a thorough understanding of InetSoft's concepts and its API is required.