uploadObject() Method

In CatalogService, use the uploadObject() method to upload a new object to the catalog.

Signature

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

Parameters for uploadObject() 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 userID

Specifies the user name.

String password

Specifies the password for the user name.