+

Search Tips   |   Advanced Search

Set up file type definitions to enable Document Conversion Services.


Set up file definition types to ensure that document conversions will work for Microsoft Office, Lotus SmartSuite, and OpenOffice file types.

  1. Edit...

      WAS_HOME/java/jre/lib/content-types.properties

    For IBM i, the content-types.properties file is under...

      /QOpenSys/QIBM/ProdData/JavaVM/jdk626/32bit/jre/lib

  2. Update content-types.properties as follows...

    • Microsoft Office 2007:
      application/vnd.openxmlformats-officedocument.wordprocessingml.document: \
         description=Microsoft Word 2007 file;\
         file_extensions=.docx
      
      application/vnd.openxmlformats-officedocument.presentationml.presentation: \
         description=Microsoft PowerPoint 2007 file;\
         file_extensions=.pptx
      
      application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: \
         description=Microsoft Excel 2007 file;\
         file_extensions=.xlsx
      
    • Microsoft Office (prior to 2007):
      application/msword: \
       description=Microsoft Word;\
       file_extensions=.doc
      
      application/vnd.ms-excel: \
       description=Microsoft Excel;\
       file_extensions=.xls
      
      application/vnd.ms-powerpoint: \
       description=Microsoft PowerPoint;\
       file_extensions=.ppt
      
    • Lotus SmartSuite:
      application/vnd.lotus-freelance: \
              description=Lotus Freelance;\
              file_extensions=.prz
      
      application/vnd.lotus-1-2-3: \
              description=Lotus 1-2-3;\
              file_extensions=.123
      
      application/vnd.lotus-wordpro: \
              description=Lotus WordPro;\
              file_extensions=.lwp
      

    • OpenOffice:
      application/vnd.sun.xml.writer: \
       description=Open Office;\
       file_extensions=.sxw
      
      application/vnd.sun.xml.writer.template: \
       description=Open Office;\
       file_extensions=.stw
      
      application/vnd.sun.xml.writer.global: \
       description=Open Office;\
       file_extensions=.sxg
      
      application/vnd.sun.xml.calc: \
       description=Open Office;\
       file_extensions=.sxc
      
      application/vnd.sun.xml.calc.template: \
       description=Open Office;\
       file_extensions=.stc
      
      application/vnd.sun.xml.impress: \
       description=Open Office;\
       file_extensions=.sxi
      
      application/vnd.sun.xml.impress.template: \
       description=Open Office;\
       file_extensions=.sti
      
      application/vnd.sun.xml.draw: \
       description=Open Office;\
       file_extensions=.sxd
      
      application/vnd.sun.xml.draw.template: \
       description=Open Office;\
       file_extensions=.std
      
      application/vnd.sun.xml.math: \
       description=Open Office;\
       file_extensions=.sxm
      

  3. Make sure you have the appropriate package installed for your system.

    Systems Additional Packages
    AIX X11R6

    IBM i (v7r1 and v6r1)

    X11R6
    Linux

    X11R6
    LessTif or Motif with libXm.so.1 (Stellent 8.0.1)
    LessTif or Motif with libXm.so.2 (Stellent
    7.75 or earlier)

    Solaris X11R6
    Windows n/a
    z/OS X11R6

    If OpenMotif is included on the Linux server (for example, RedHat 3.0) then you do not need to install the LessTif RPM package, as the binaries for the LessTif package are already included.

A temporary directory is used for document conversion. The default temporary directory is:

To create a temporary directory other than the default, Edit...

Add the property tempDir to the <global> tag as follows:

<global>
<property name="tempDir" value="yourtempDirectory"/>
</global>

To launch the native application when clicking the attachment, the following MIME types must be registered in WebSphere Application Server to enable browsers to properly display documents on that type. The following additional types need to be registered:

For Unix systems, you must launch IBM Workplace Services Express from the console or an X-Server-enabled client with the same privileges (xhost+) as the console.

On Unix servers, graphical conversions require access to an X Windows server, since they require access to the Xm, Xt and X11 libraries. Also the DISPLAY environment variable must be set to the accounthat Portal is running under. The DISPLAY must be valid at the point that Portal is started. Therefore, telneting to a machine and starting Portal from there does not work. You must start the portal from an X terminal.

For AIX and IBM i, refer to the prerequisites as described in Configure images in non-Windows platform.


Parent: Enable Document Conversion Services