You are here

Custom Mimetypes

You can add custom mimetypes to Share.

When you edit the properties of a document, it is possible to select a mimetype from a drop-down list. You can add custom mimetypes to this list.

Custom mimetypes are added to a configuration file. An example file is provided - ./tomcat/shared/classes/alfresco/extension/mimetype/mimetypes-extension-map.xml.sample. You can rename this file to ./tomcat/shared/classes/alfresco/extension/mimetype/mimetypes-extension-map.xml. It will be processed when SkyVault is restarted.

The content of the example file is as follows:

         
<alfresco-config area="mimetype-map">
   
   <config evaluator="string-compare" condition="Mimetype Map">
      <mimetypes>

         <mimetype mimetype="application/XXX" display="Example mimetype">
            <extension>ex</extension>
         </mimetype>

      </mimetypes>
   </config>
   
</alfresco-config>         
         
      

You can add custom mimetypes as required to this file, or create your own configuration file located on the classpath.