updateTemplateForReport() Method

In ReportService, use the updateTemplateForReport() method to update a template for a specific report in the catalog.

Signature

boolean updateTemplateForReport(String reportAbsolutePath, String templateName, String locale, byte[] templateData, String userID, String password);

Parameters for updateTemplateForReport() Method

Parameter Description

String reportAbsolutePath

The path to the report that contains the template to update. For example: /HR Manager/Employee Reports/Employee Listing.xdo

String templateName

The name of the template to update (for example, Chart Layout).

String locale

The locale of the template to update (for example, en_US).

byte[] templateData

The template file.

String userID

Specifies the user name.

String password

Specifies the password for the user name.