uploadXLIFFInSession() Method

In CatalogService, use the uploadXLIFFInSession() method to upload a translation file (XLIFF) to the catalog for a given user.

For more information about in-session methods, see About In-Session Methods.

Signature

boolean uploadXLIFF(String objectAbsolutePath, byte[] xliffData, String locale, String bipSessionToken);

Parameters for uploadXLIFFInSession() Method

Parameter Description

String objectAbsolutePath

The path to the XLIFF object to upload.

byte[] xliffData

The XLIFF fie to upload.

String locale

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

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.