Example

<!--These mappings indicate what attributes will be populated in an Assembly Document when a File System document is assigned.WARNING:

This is the default property mapping. It must not be removed.Working

bean! --/>

<bean id="file.file_object-assembly.leaf" parent="propertyMapper">

<property name="retriever" ref="dmsContentRetriever" />

<property name="populator" ref="metaObjectPopulator" />

<property name="mappings">

  1. To exclude the file extension for non-native files for auto-created leafs, locate the following section:

    <bean parent="simpleMapping">

    <property name="source" value="name" />

    <property name="target" value="outputFileName" />

    </property>

    </bean>

  2. Add the following code lines after the code line <property name="target" value="outputFileName" />:

<property name="converter">

<bean parent="removeExtensionConverter"/>