uploadObjectInSession() Method

In CatalogService, use the uploadObjectInSession() method to upload a new object to the catalog for a given user.

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

Signature

String uploadObject(String reportObjectAbsolutePathURL, String objectType, byte[] objectZippedData, String bipSessionToken);

Parameters for uploadObjectInSession() Method

Parameter Description

String reportObjectAbsolutePathURL

The path to the object in the catalog.

String objectType

The type of object to upload. Valid values are:

xdm (data model)

xdo (report)

xsb (sub-template)

xss (style template)

byte[] objectZippedData

The object to upload in zipped format.

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.