Author Topic: Using CMOD Generic Transform Interface on ODWEK 8.5  (Read 2543 times)

Satish

  • Newbie
  • *
  • Posts: 1
    • View Profile
Using CMOD Generic Transform Interface on ODWEK 8.5
« on: June 16, 2014, 02:13:34 AM »
Dear members,

I am trying to use "CMOD Generic Transform Interface" for transforming source files in OnDemand to another type. I am referring CMOD Generic Transform Interface as specified in IBM Content Manager OnDemand Guide (Redbook - SG246915.pdf) - section 9.2.

I am facing some concerns though while I use it. Please can I get a help?

ODConfig.Properties
First step is to add an entry in ODConfig.Properties to transform XML. The properties file is said to be part of ODWEK 8.5. However, I failed to locate it even on Linux ODWEK 8.5 installation.

Please could I be informed about the file location or if the file is not available what is the alternative?

Transformation method
The XML specifying custom transformation (ODTransform.xml as per redbook) has tag <ClientClass>com.companyA.corp.TransformClient</ClientClass>. The mentioned class should have actual transformation logic implemented in Java. However, redbook refers method names as transform(), transformData() without any parameters. In the code sample, the method name is taken as  public static HashMap transformData(HashMap odMap) throws Exception. Do we know if there is a method signature which is invoked by generic transformation interface? or is there a way to configure which method on custom transformation class should be invoked?

Portability
Page 220 mentions Generic transform interface is not available for Windows platform. Is this really the case?

Thanks in advance.

Regards
Satish
« Last Edit: June 16, 2014, 02:42:20 AM by Satish »