Add the Custom Template Information to the Resources.xml File
You must modify this file by adding the information that refers to the custom report template.
For the listItems element, you add a new listItem element that represents the new template. The listItem element must have the following attributes.
Attribute |
Description |
---|---|
idsLabel |
Specifies an ID that refers to a Report Studio string resource file, such as reportstudio_en.xml or reportstudio_fr.xml, located in the c10_location/webcontent/pat/res directory, and a label for the template that appears in the new report dialog box. Use this attribute when you want to translate the label into other languages. If you do not wantto translate the label, use the label attribute instead. |
label |
Specifies a label for the template that appears in the new report dialog box. Use this attribute instead of the idsLabel attribute for the custom template when you do not want to translate the label into other languages, which eliminates the need to use the string resource files, such as reportstudio_en.xml or reportstudio_fr.xml, in the c10_location/webcontent/pat/res directory. |
icon |
Specifies an image file located in the c10_location/webcontent/pat/images directory that is associated with the template. The image appears as an icon in the new report dialog box. Use a previously created image file for the custom report template. |
templateName |
Specifies the name of the custom report template. |