Modify a document classifier
If you modify a document classifier, you must update the Content Engine with your modified classifier. How you do this depends on
whether the classifier is referenced in the JVM class path of the application server where the Content Engine is running, or whether the
classifier is contained within a code module stored on the Content Engine.
NOTE Code modules are versioned documents. If you modify a document classifier contained within a code
module and check it in as a new version, you must also update any document classification actions that reference the code module (so that they use the new
version of the code module).
To update a document classifier that is referenced in the JVM class path
- Restart the Content Engine in order to load the updated document classifier.
To update a code module and action
- Check out the code module, making note of its mime type. The mime type can be found as follows:
- Right-click the code module and click Properties.
- Select the Properties tab.
- Note the Mime Type property value.
- Modify the document classifier source and compile it.
- Check in the new version of the code module.
- Right-click the code module and click Copy Object Reference.
- Do the following steps for each document classification action that references the code module.
- In the tree view, expand Object Stores > object store name > Document Classification Actions.
- Right-click the event action that references the updated code module and click Properties.
- Select the Properties tab.
- Select the All Properties radio button and scroll to the Code Module property at the bottom of the window.
- Right-click the Code Module Property Value field and click
Paste Object.
- In the Select Object from Paste Buffer window, select the latest version object reference and click OK.
- In the Properties window, click Apply, then click OK.