It is vital for the generated report that it contains information from your
project. Hence it has to be filled with ARCWAY Cockpit
project data, e.g. the name of the project. For this purpose it is necessary
to insert placeholders into the report template, that will be replaced with
project data during the report generation.
The data access is possible through so called Core Entities.
You can find the interface documentation for the project entities
here. An
equivalent documentation for module entities can be found in the help at
"ARCWAY Cockpit Help" -> "Working with ARCWAY Cockpit" -> "Report Generation"
-> "Interface Documentation: Accessing COCKPIT Module Entities".
Search for classes that end with "Provider" or "Helper" and open their
documentation. At the top of each page you will find the name of a variable
that represents the corresponding provider or helper in your report template.
This variable can be used to access all Cockpit data
with the described methods.
A sample that shows the use of core entities can be found
here. Note that this sample
uses formatting from an ARCWAY format template and that this template has to
be available to generate the report successfully. You may want to read more about
format templates.
Related Topics:
Tutorial: Creating individual Report Templates
DocBook Example with ARCWAY Cockpit Data