The Report Types available for selection are defined in the ReportTypeXml.xml configuration file. The report type definitions for these reports are found at the top of the file. In addition the report queries necessary for these report types are defined below the report type definitions. If necessary you can add report types of your own to suit the needs of your application.
To add new Report Types
1. In the ReportXML.xml file, append the <reportype> element with appropriate values for the different attributes described in the steps to follow.
2. Specify the name of the field to be queried in the output fields using the 'name' attribute of the <queryfield> element. Specify the groupby name to which the queryfield belongs in the 'groupbyname' attribute.
3. Add the name of the new report type in the 'value' attribute of the <reportype> element.
4. Add the display format in the 'fieldsdisplayformat' attribute.
5. Specify the class name in the 'classname' attribute. The format of the class name is 'Workflow.NET.Web.ReportUI.[report class name]'.
6. Specify the path for the Report UI dll in the 'assembly' attribute.
7. Add the <reportypequeries> tag if the new report type makes use of user-defined queries to generate the report.
8. Add the <reportypequery> tag with the name of the report type as the value for the 'name' attribute.
9. Add the <query> tag giving the name of the query in the 'name' attribute'. Specify the type of the query in the 'type' attribute. For instance, "Parent".
10. Build the query using the <add> tag specifying appropriate values for the 'action' and 'position' attributes.
11. Define the query for each database type using the <datasource> tag.
12. Close the </datasource>, </add>, </query>, and </reportypequery> tags.
The new report type is now added to the list of report types available.