Content Component 25.2
Content Component Help

# Create Categories by Copying Categories

You can create a category by copying an existing category and retraining or editing it, by using the `CategoryCopy` action. The Category component stores the new category in the same position in the `root` category as the original category, unless you specify a parent category for it. For example:

    action=CategoryCopy&Category=123456789012345&Name=BotanicsCopy&Parent=98765432109876&BuildNow=True

In this example, Category copies the category with the ID `123456789012345`. It calls the new category `BotanicsCopy` and stores it as a child category of the category with the ID `98765432109876`. The `BuildNow` parameter instructs Category to build the categories immediately, so that they become active. You can also activate the category at a later point by using the `CategoryBuild` action.

Related Topics

- Build Categories

Copyright 2025 Open Text
Version 25.2 | Last updated April 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 Content Component 25.2

Topic Title: Create Categories by Copying Categories