IDOL Proxy Component 23.3

# Create Categories from Scratch

You can create categories from scratch.

To create categories from scratch

1. Create the category by using the `CategoryCreate` action. For example:

       action=CategoryCreate&Name=Botanics&Category=1

   From this action, IDOL Category component creates the `Botanics` category with an ID of `1`. The new category is a child of the `root` category, which has the ID `0`. Categories that you create from scratch are by default stored as child categories of the `root` category. However, you can specify an alternative parent category when you create a category. The `Category` `Category` parameter is optional. If you do not specify an ID, the system automatically generates a random ID.

2. Create a child category.

   The IDOL Category component returns an ID for the category that it creates. You can use this ID to identify the category, for example, to add a child category to it:

       action=CategoryCreate&Name=Perennials&Parent=1

   In this example, Category creates the `Perennials` category. The new category is a child of the category with the ID `1` (in this case, the `Botanics` category).

3. Train the new category. You can set training action parameters for the `CategoryCreate` action to train a category when you create it.

4. Optionally, move categories to create a hierarchical structure or to modify their position in the category hierarchy.

Related Topics

- Train Categories

- Move Categories

- Create AgentBoolean Agents and Categories

Copyright 2023 Open Text
Version 23.3 | Last updated June 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Proxy Component 23.3

Topic Title: Create Categories from Scratch