Change in installed TBO

Options
Kal_El
edited August 15, 2016 in Documentum #1

Hi All,


I recently join the support team. apparently there are no documents available. 

we have a TBO installed in our docbase. we want to change some functions there basically wanted to change doSave.

actually we can remove it but we are not sure the full functionality of the TBO.

is there any way to get the code or class file for that installed TBO.

can you please guide how to make changes in existing TBO and install it back in repository

Thanks in advance!

BR

Tagged:

Comments

  • Haroon_A
    edited August 12, 2016 #2
    Options

    You'll need the source code for the TBO to make changes.

  • DCTM_Guru
    edited August 12, 2016 #3
    Options

    Search the servers you have access to for Composer.  This is the Documentum IDE that is used to generate TBO.  Once you find Composer folder, look for workspace folder on that machine.  This is where Composer creates Documentum projects that contains the source code.

  • Kal_El
    edited August 12, 2016 #4
    Options

    Thank you for the prompt reply.

    actually that is what i was trying to say ... we do not have the source code now.

    The below approach i am planning to do, need your confirmation if that is fine -

    i went to the particular TBO , there are two jars as shown -

    0038.JPG.jpg

    get the class file from there and convert it into code. make the changes.

    delete the current TBO and deploy the new one.

  • Haroon_A
    edited August 12, 2016 #5
    Options

    Remember, when decompiling the class file, you may not be able to properly recompile it. You may end up re-writing it. but, at least it will give you a good understanding of what the TBO is doing.

  • Kal_El
    edited August 15, 2016 #6
    Options

    Thanks Johnny ...

    i found the workspace location but i can't able to see the source code .... are you referring to the same location -

    0039.JPG.jpg

    my content server is on SUSE linux.

    Thanks in advance!

  • DCTM_Guru
    edited August 15, 2016 #7
    Options

    This isnt the user project workspace, this is the default Composer install.  Try launching Compoeser; it should have the last workspace location set by default.

  • Haroon_A
    edited August 15, 2016 #8
    Options

    - export the jar file for your TBO (ipcdmsdatesend).

    - unzip it, you should get the package and the class files.

    - do a full search on your class file, with java extension. i.e. if your class file name is IpcDmsDateSend.class, then search for IpcDmsDateSend.java.

    - on unix use this.

         find / -name "IpcDmsDateSend.java"

    -on Windows use this. Go to C:\ root folder (or D:\ drive)

         dir IpcDmsDateSend.java /b /s /a

    the workspace may (or may not) be on the content server.