Use this information to add a MIME type definition.
The MIME type default definitions are in the mimetype-map.xml file.
- Copy the default definition file and place it in a file called <extension>/mimetype/mimetypes-extension-map.xml.
-
Modify the inserted MIME type to match your requirements. For example:
<alfresco-config area="mimetype-map"> <config evaluator="string-compare" condition="Mimetype Map"> <mimetypes> <mimetype mimetype="application/xxx" display="My Example Mimetype"> <extension>ex</extension> </mimetype> </mimetypes> </config> </alfresco-config>
An example file is provided in <extension>/mimetype/mimetypes-extension-map.xml.sample. You can include multiple files and each one is loaded automatically.
- Save the file.
- Restart SkyVault Content Services.
The MIME type is available in the repository.