updateXLIFFForReport() Method

In ReportService, use the updateXLIFFForReport() method to update a translation file (XLIFF) associated with a layout definition in the catalog.

Signature

boolean updateXLIFFForReport(String reportAbsolutePath, byte[] xliffData, String layoutFileName, String locale, String userID, String password);

Parameters for updateXLIFFForReport() Method

Parameter Description

String reportAbsolutePath

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

byte[] xliffData

The XLIFF fie to upload.

String layoutFileName

The file name of the layout for which the XLIFF file is to be updated. For example: employee_listing.rtf.

String locale

The locale to assign to the XLIFF (for example, en_US).

String userID

Specifies the user name.

String password

Specifies the password for the user name.