describeDataCategoryGroups()
Retrieves available category groups for objects specified in the request.
Use this call to describe the available category groups for the objects specified in the request. This call can be used with the describeDataCategoryGroupStructures() call to describe all the categories available for a specific object. For additional information about data categories, see “Work with Data Categories” in the Salesforce online help.
This sample shows how to retrieve the data category groups associated with:
- Salesforce Knowledge articles
- Questions from the Answers feature
It returns the name, label and description of a category group and the name of the associated sobject (article or question). It also returns the number of data categories in the data category group.
This sample shows how to retrieve the data category groups associated with:
- Salesforce Knowledge articles
- Questions from the Answers feature
It returns the name, label and description of a category group and the name of the associated sobject (article or question). It also returns the number of data categories in the data category group.
| Name | Type | Description |
|---|---|---|
sObjectTypes | string[] | The specified value can be:
|
DescribeDataCategoryGroupResult
InvalidSObjectFault
UnexpectedErrorFault