copyObjectInSession() Method

In CatalogService, use the copyObjectInSession() method to copy the report object referenced by srcObjectAbsolutePath to a destination folder specified by destFolderAbsolutePath.

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

Signature

boolean copyObjectInSession(String srcObjectAbsolutePath, String destFolderAbsolutePath, String newName, String bipSessionToken);

Parameters for copyObjectInSession() Method

Parameter Description

String srcOjectAbsolutePath

The path to the catalog object to copy.

String destFolderAbsolutePath

The path to the folder in the catalog to which to copy the object.

String newName

The name to assign the new object.

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.