View Component 25.2
View Component Help

# Change Category Fields

Use the `CategorySetDetails` action to set the value of one or more category fields, or to create new fields in a category.

By default each category has a threshold of 0 and is set to return six results. Use the `CategorySetDetails` action fields `THRESHOLD` and `NUMRESULTS` to set the threshold and the number of results that a category can return. For example:

    action=CategorySetDetails&Category=124365780934532&Fields=THRESHOLD,NUMRESULTS&Values=60,10&BuildNow=True

In this example, the Category component sets the `THRESHOLD` field of the category with the ID `124365780934532` to `60` and its `NUMRESULTS` to `10`. 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 View Component 25.2

Topic Title: Change Category Fields