getTemplate() Method
In ReportService, use the getTemplate() method to retrieve a template from a report definition in the catalog.
Signature
byte[] getTemplate(String reportAbsolutePath, String templateID, String locale, String userID, String password);
Parameters for getTemplate() Method
Parameter | Description |
---|---|
String reportAbsolutePath |
The path to the report to which the template is associated. For example: /HR Manager/Employee Reports/Employee Listing.xdo |
String templateID |
The ID of the template (for example, |
String locale |
The locale of the template to retrieve (for example, |
String userID |
Specifies the user name. |
String password |
Specifies the password for the user name. |