Enterprise comes with a long list of supported file types, Files that are in this list can be uploaded by end users.
To add additional file types, follow these steps:
Step 1. Open the configserver.php file for the Enterprise Server on which the change needs to be made.
<Enterprise Server path>/config
Step 2. Locate the EXTENSIONMAP section.
// EXTENSIONMAP: // Mapping of file types (extensions, for example image.jpg) to their MIME type and // object type as stored in the Enterprise database. // define ('EXTENSIONMAP', serialize( array( '.jpg' => array( 'image/jpeg', 'Image'), '.jpeg' => array( 'image/jpeg', 'Image'), '.gif' => array( 'image/gif', 'Image'), '.tif' => array( 'image/tiff', 'Image'), '.tiff' => array( 'image/tiff', 'Image'), '.png' => array( 'image/png', 'Image'), ...
Step 3. Add the required file type in the same format as the existing ones and make sure that it is added in lower case.
Example: Here, the Nikon RAW image format is added:
Step 4. Save the file.
Step 5. (Optional) Newly added file types will appear with the file icon for files of type 'Other'. To add a custom icon, see Using custom file icons in Enterprise Server.