Customizing the MIME types that are returned for various file types
APAR JR30578 was fixed in version 8.4 Fix Pack 2 of IBM WebSphere Information Integrator Content Edition. As part of that fix, a new custom property (enableCustomMimeTypeMappings) was created for the IBM FileNet CS and IBM FileNet IS connectors, but that property was not documented. This technote provides the information that you need to customize the MIME types that are returned for various file types.
Tip: Before customizing MIME types, you can determine what the default values are for the MIME types by using the Custom Properties Editor for a new IBM FileNet IS connector in the Administration Tool. If the default values do not meet your needs, you can customize the MIME types by using the following instructions. (Note that this tip does not apply to an IBM FileNet CS connector; a new IBM FileNet CS connector does not display the default values for MIME types.)
To customize the MIME types that are returned for various file types:
- Use FileNet Neighborhood, which is part of IBM FileNet IDM Desktop, to view all types of files and obtain their F_DOCFORMAT property values.
- Use the Custom Properties Editor for the appropriate connector in the Administration Tool to add the enableCustomMimeTypeMappings property and to add individual MIME type properties:
a. Add the enableCustomMimeTypeMappings property and set its value to TRUE.
- TRUE - Return a custom MIME type. This behavior is new, beginning in version 8.4 Fix Pack 2 of the product.
- FALSE - Return the default MIME type, which is derived from F_DOCTYPE. This behavior is consistent with versions of the product prior to version 8.4 Fix Pack 2.
Valid values for the enableCustomMimeTypeMappings property are:
Tip: You can disable the return of custom MIME types at any time by setting the value of the enableCustomMimeTypeMappings property to FALSE.
b. Add a property for each MIME type that you want to customize.
Name each MIME type property by concatenating "mimeTypeMapping" with a positive integer, for example, mimeTypeMapping11 or mimeTypeMapping26.
c. Specify a value for each MIME type property in the following format:
F_DOCFORMAT_property_valu e ; f ile_extension :custom_MIME_type
More support for:
Connectors - FileNet Image Services/Content Services
Software version: 8.5, 8.5.1, 8.6
Operating system(s): AIX, HP-UX, Linux, Solaris, Windows
Reference #: 1575776
Modified date: 11 February 2014
Translate this page: