Smartsite 7.1 - ...
<contenttypemappings> element
Contains mappings between contenttypes and file-extensions.
These mappings are used to determine which contenttype must be used for which file-extension, whenever a new Asset Item is added to the cms.
Within the contenttypemappings element, one or more group elements should be used to create a set of contenttype mappings. The name of a group is then used to refer to a set of contenttype mappings from an assetfolder/configuration element.
Example
XML |
Copy Code
|
<contenttypemappings>
<group name="images">
<mapping contenttype="IMG" extensions="jpg jpeg png gif bmp" />
</group>
<group name="documents">
<mapping contenttype="BIN" extensions="docx xlsx pptx" />
</group>
<group name="binary">
<mapping contenttype="BIN" extensions="*" />
</group>
</contenttypemappings>
|
Attributes
None.
Parent element
Element name |
Description |
<assets> |
This section holds the assets configuration. |
Child elements
Element name |
Description |
<group> |
The group element groups a set of contenttype mappings. |