Hi!
Take a look at document "Documentum Composer User Guide" chapter "Chapter 11: Managing Modules".
thanks. i already managed to install the tbo. i can see it under systems\modules\tbo folder. but it doesnt seems to work. can u guide me how i can check wether the tbo is triggering or not.
my classes are,
IHelloworld.java
package drms.helloworld;
import com.documentum.fc.client.IDfBusinessObject;
public interface IHelloworld extends IDfBusinessObject {
}
Helloworld.java
import com.documentum.com.*;import com.documentum.fc.client.*;import com.documentum.fc.common.DfException;
public class Helloworld extends DfDocument implements IHelloworld { private static final String strCOPYRIGHT = "Copyright (c) Documentum, Inc., 2007"; private static final String strVERSION = "1.0";
IDfClientX clientx = new DfClientX(); IDfClient client = null;
@Override public String getVendorString() { // TODO Auto-generated method stub return strCOPYRIGHT; }
@Override public String getVersion() { // TODO Auto-generated method stub return strVERSION; }
@Override public boolean isCompatible(String s) { // TODO Auto-generated method stub return s.equals("1.0"); }
@Override public boolean supportsFeature(String s) { // TODO Auto-generated method stub String strFeatures = "createhtmlfile"; if (strFeatures.indexOf(s) == 1) return false; return true; }
protected void doSave(boolean saveLock, String versionLabel, Object[] extendedArgs) throws DfException { System.out.println("inside dosave"); this.setString("appeal_id", "L-OCT-99-0001"); super.doSave(saveLock, versionLabel, extendedArgs); } /* * public void doSave() throws DfException { * System.out.println("inside dosave"); this.setString("appeal_id", * "L-OCT-99-0001"); super.save(); } *///}
Hi.
You can check if the module is loaded by the application you are testing the TBO through.
The TBO should be loaded to the cache (i.e on applicationserver if webtop/da/etc).
In the file \cache\<appversion>\bof\<docbasename>\content.xml you should find your TBO listed(and the path to the jar) if its loaded - like this:
<Entry ObjectId="0b001488813f9e49" ObjectName="my_document"> <ImplClass>com.company.bof.MyDocTBO</ImplClass> <VersionStamp>8</VersionStamp> <BofVersion>1.0</BofVersion> <ObjectType>TBO</ObjectType> <Files> <File FilePath="C:\Documentum\cache\6.5.0.225SP2\bof\<docbase>\<objectID>.jar" IsArchive="true" IsSandboxed="true"/> </Files>
If it's not there it's not loaded - if correctly deployed in repository it should be pulled from the contentserver when needed.
If it is loaded you should find the output in the appserverlog.
If you have problems loading the TBO even though it is correctly deployed, try restarting your apps and deleting cache.
Hope this was helpful..
Regards
Arne Olav