Create a report specification for your custom
report template by using an XML editor or a text editor.
Procedure
- Open the report specification in an XML editor or text
editor.
- Add the elements you want to appear in your template.
For more information, see the Developer Guide.
- Add a new template element as a parent
of the report element.
The name you
enter appears as the name of the template in the new report dialog
box.
- Add a name attribute to the template element.
The name you enter appears as the name of the template in
the new report dialog box.
- Add a <modelPath/> element for the report element.
Here is a partial example of the XML for the template created
in Using Report Studio.
<xmlFragment>
<template name="List_corporate"> <report>
<modelPath/> ... </template> </xmlFragment>
- Save the report specification.