In addition to the templates provided, you can create your own report templates and add
them to the Designer Wizard.
To create a new report template, first create a report template schema definition
(.rsd) to define the expected structure for the data source
and then create the report template (.4rt). Any new templates
must be added to the Designer Wizard.
Create a new report template schema
-
Go to , select Template Schema Definition(.rsd),
and click OK.
A new .rsd file opens.
-
Using the available elements, create a structure for the elements that will be used as
placeholders in the report template.
For example:
<?xml version="1.0" encoding="utf-8"?>
<ReportSchema rootElementName="verySimpleSchema" fileVersion="30000" gstVersion="30000" >
<Field name="testBool" type="boolean" sampleValue="1"/>
<Field name="testString" type="string"/>
<Field name="testNumber" type="double"/>
</ReportSchema>
-
Save the file to your report template directory.
Create a new report template
-
Go to , select Empty Report Template(.4rt), and click
OK.
A new .4rt file opens.
-
In the Data View tab, click Open Schema
File.
-
Navigate to the location that you saved your .rsd file in Step 3, select
the .rsd file, and click Open.
The structure of the elements from the .rsd file that you selected
is visible in the Data View tab.
-
Save the .4rt file to your report template directory.
You have now created a report template that you can design to suit your requirements.
Note: The report template has the same elements as the report design
document. In addition, the report template contains a special elements, the
template
field.
When you have completed the above procedure, go to to open the wizard. Select Report from
Template to view your new report template in the list.