---
schema_version: "1"
id: 70c1783a3f8ae6ad46f49c41d2478677f05e4241dd20e34c89f43770591490f0
title: CategoryData
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_categorydata.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_categorydata.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d64a82a4e8a254e35186cd9ce98ba659bac4d9806100022104b176978a6118b8
description: Represents a logical grouping of Solution records.
---
# CategoryData

Represents a logical grouping of Solution records.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

## Special Access Rules

Customer Portal users can't access this object.

## Fields

| Field | Details |
| --- | --- |
| CategoryNodeId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the CategoryNode associated with the solution.



 |
| IsDeleted | 

Type

boolean

Properties

Defaulted on create, Filter

Description

Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is **Deleted**.



 |
| RelatedSobjectId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the solution related to the category.



 |

## Usage

This object allows you to assign one or more categories to a Solution. It is an intermediate data table with two foreign keys that defines the relationship between a CategoryNode and a Solution record.

CategoryData has two foreign keys:

- The first foreign key, CategoryNodeId, refers to the ID of a CategoryNode.
- The other foreign key, RelatedSobjectId, refers to a Solution ID.

This is a many-to-many relationship, so there can be multiple rows returned with a CategoryNodeId. A Solution can be associated with multiple categories.

#### See Also

- [Overview of Salesforce Objects and Fields](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_concepts.htm "Salesforce objects and fields are analogous to database tables and the table columns. Objects and fields structure data. For example, the central object in the Salesforce data model represents accounts—companies and organizations involved with your business, such as customers, partners, and competitors.")