uploadXLIFFForReportInSession() Method
In ReportService, use the uploadXLIFFForReport() method to upload a translation file (XLIFF) to a layout definition in the catalog based on the bipSessionToken of a given user.
For more information about in-session methods, see About In-Session Methods.
Signature
boolean uploadXLIFFForReportInSession(String reportAbsolutePath, byte[] xliffData, String layoutFileName, String locale, String bipSessionToken);
Parameters for uploadXLIFFForReportInSession() 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, |
String bipSessionToken |
The proprietary token string generated for the user. With the bipSessionToken string, the user no longer needs to provide user credentials. The server can validate this token string and restore the session to perform needed operation. |