Category Component 25.3
Category Component Help

# OnConflict

NOTE: This parameter description applies only to the CategoryImportFromXML action.

The method to use to handle categories in the XML that have the same name and hierarchy position as existing categories. Use one of the following options:

- `KeepExisting`. Keep the existing category and discard the new category.

- `Overwrite`. Overwrite the existing category with the new category.

- `Merge`. Merge the new category with the existing category. In this case, the Category component:

  - keeps old and new child categories.

  - keeps new training text and overwrites the old training text. All other old and new training items are kept.

  - keeps old and new terms. Where old and new terms match, the weight of the new terms overwrites that of the old terms if it is different. QueryAgent terms and weights are always overwritten.

  - keeps old and new detail fields (`numresults`, `threshold`, `databases`, `FieldText`, and user-defined fields), unless their values clash, in which case the new field value overwrites the old one.

Actions: | CategoryImportFromXML
Type: | String
Default: | `KeepExisting`
Example: | `OnConflict=Overwrite`
See Also: |

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 25.3

Topic Title: OnConflict