06i. Extension Management

Last modified by Tom Jardine on 06/11/2025, 14:23

CXAIR is pre-configured with adapters for the most common extension and MIME types. Administrators can further extended Indexing compatibility as new extension and MIME types are created.

An Indexing adapter is a custom Java class that enables CXAIR to Index files in file systems or databases that have a particular extension type, such as .pdf or .html, or files on websites that have a particular MIME types, such as "text/html" or "application/acrobat". 

Creating either an Extension Type or MIME Type adapter is a three stage process. First, the custom Java class must be created in the appropriate third-party application before being associated with with an adapter type in CXAIR. The adapter can then be mapped to an extension or MIME type.

Adapters

There are two adapter types that can be created: Extension Type and MIME Type adapters.

Creating Adapters

To create an adaptor for either type, navigate to the Adapter Management screen by clicking Setup, Extensions then Adapters.

Enter a Name and Display Name for the new adapter in the relevant textboxes and enter the path of the custom Java class in the Java Class Name textbox.

Click Create Adapter to save the entries or Cancel to discard changes.

Mapping Created Adapters

Once the relevant adapter has been created, this will now need to be mapped in the relevant screen. 

For MIME Type adapters, navigate to the MIME Mappings screen by clicking Setup, Extensions then MIME Mappings.

For Extension Type adapters, navigate to the MIME Mappings screen by clicking Setup, Extensions then Extension Mappings.

When in the desired screen, enter a name for the MIME or Extension type and selected the entry created previously from the Mapped Adaptor drop-down list.

Click Create to save the entries, or click Cancel to discard the changes.

Jar Files

Custom .jar files can also be loaded into the system to extend Indexing compatibility.

To import a .jar file, navigate to the Jar Management screen by clicking Setup, Extensions then Jars.

Click Choose File, select the required file from the file explorer and click Upload Jar to upload the file and complete the process.

Please note that while .jar files can also be added directly to the CXAIR directory, they will be removed if the system is upgraded. To ensure imported .jar files do not get removed, always import the files using the Jar Management screen.