How to configure the available MIME types for Files

CAT Features

Problem Description

Problem 1: A new file extension needs to be registered to a MIME type

Problem 2: Preventing particular file extensions from opening right in the browser.

Solution with Websphere Commandline Interface

Problems 1+2:

  1. Search the HCL Connections documentation for the steps to solve your problem.
  2. Start the wsadmin commandline interface as administrator. ATTENTION: All commands for the commandline interface are case sensitive!
  3. Activate the relevant Jython script.
  4. Check out the relevant HCL Connections configuration XML file.
  5. Open the HCL Connections configuration XML file and edit the parameters. ATTENTION: Make sure you don’t accidentally violate the XML schema, e.g. by forgetting to close a tag or a quotation mark.
  6. Check in the configuration file again.

Solution with Connections Administration Toolkit (CAT)

Navigate to Administration – Files, subsection Mime Types. There, all available MIME types are displayed, including the extensions and which of them can be opened from web.

Problem 1: Unless the mime type already exists, you need to hit ‘Create Mime Type’. There, you can configure the new mime type.

Problem 2: Filter for the mime type, select it, and click ‘Edit’. There, you can remove the check from the ‘Open From Web’ checkbox.

In both cases: Once you are done, hit the ‘Submit’ button right at the bottom, and a confirmation popup summarizes the changes and allows you to enter a comment. All changes, comments, and who made them, are logged by the CAT application.

Other CAT Features