uploadXLIFFForReport() Method

In ReportService, use the uploadXLIFFForReport() method to upload a translation file (XLIFF) to a layout definition in the catalog.

Signature

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

Parameters for uploadXLIFFForReport() Method

Parameter Description

String reportAbsolutePath

The path to the report to which to upload the XLIFF. For example: /HR Manager/Employee Reports/Employee Listing.xdo

byte[] xliffData

The XLIFF fie to upload.

String layoutFileName

The file name of the layout to which to associate the XLIFF file. 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.