uploadTemplateForReport() Method
In ReportService, use the uploadTemplateForReport() method to upload a template to a report definition in the catalog.
Signature
boolean uploadTemplateForReport(String reportAbsolutePath, String templateName, String templateType, String locale, byte[] templateData, String userID, String password);
Parameters for uploadTemplateForReport() Method
Parameter | Description |
---|---|
String reportAbsolutePath |
The path to the report to which to upload the template. For example: /HR Manager/Employee Reports/Employee Listing.xdo |
String templateName |
The file name of the template to upload. |
String templateType |
The template type. Valid values are:
|
String locale |
The locale to assign to the template (for example, |
byte[] templateData |
The contents of the template file to upload. |
String userID |
Specifies the user name. |
String password |
Specifies the password for the user name. |