This task describes how to customize content
transformations.
-
Copy the following file:
<configRoot>/alfresco/content-services-context.xml
- Paste this file into the <extension> directory or in your preferred directory.
-
Open the file. Transformers start below the comment:
<!-- Content Transformations -->
- Locate the bean containing a transformer that is most similar to the transformer that you want to add. (It is unlikely that you would want to modify an existing transformer.)
- Delete every pair of <bean> </bean> tags except the pair containing the similar transformer.
- Rename and modify the bean.
-
Save the file with a meaningful name.
If you save the file in the <extension> directory, the filename must end with ‑context.xml.