Archive for May 9, 2010

How to invoke SBO from TBO ?

May 9, 2010 Comments off

One can invoke SBO from a TBO by using following code snippet in a method of a TBO class.

The method can be called from save(), checkInEx(…) method or in any custom methods

IDfSession session = getSession() ;
String docBaseName = session.getDocBaseName() ;

IDfSessionManager sMgr = session.getSessionManager() ;
IDfClient client = session.getClient();

ICreateFolderSBO folderSBO = (ICreateFolderSBO)

String documentId = session.getObjectId() ;
folderSBO.createFolder(documentId, docBaseName);

Categories: DOCUMENTUM Tags: , ,
%d bloggers like this: