Setting up file type definitions to enable Document Conversion Services
Set up file definition types to ensure that document conversions works for Microsoft Office, Lotus® SmartSuite®, and OpenOffice file types.
Procedure
Example
A temporary directory is used for document conversion.
- Windows: c:\temp
- AIX, HP-UX, Linux, Solaris: /tmp Note: The default /tmp directory is in the root system. If it does not exist, it must be created.
- IBM i: /temp
To create a temporary
directory other than the default, edit the convertors.xml file
in wp_profile_root/PortalServer/dcs.
Add the property tempDir to the <global> tag as follows:
<global>
<property name="tempDir" value="yourtempDirectory"/>
</global>
What to do next
To start the native application
when you click the attachment, the following MIME types must be registered
in WebSphere® Application
Server to enable
browsers to properly display documents of that type. The following
extra types must be registered:
- application/msword doc
- application/vnd.ms-excel xls
For AIX, HP-UX, Linux, Solaris,
you must start IBM Workplace
Services Express® from the
console or an X-Server-enabled client with the same privileges (xhost+)
as the console.
Note: Graphical conversions require access to an X Windows server. They
require access to the Xm, Xt,
and X11 libraries. Also, the DISPLAY environment
variable must be set to the account that Portal is running under.
The DISPLAY must be valid at the point that Portal is started. Therefore,
telnetting to a server and starting Portal from there does not work.
You must start the portal from an X terminal.
For AIX, HP-UX, and IBM i, refer to the prerequisites as described in Configuring images for Document Conversion Services.