---
schema_version: "1"
id: a63df86025b55df5c66285c57e6d05521c5676f0f83cd114efa16863f2ef22c6
title: CategoryNode
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_categorynode.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_categorynode.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b92b1524b5425bba094c172b54b531a3c2d507579df7540c72efca417f23e07e
description: Represents a tree of Solution categories.
---
# CategoryNode

Represents a tree of Solution categories.

## Supported Calls

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

## Special Access Rules

- Customer Portal users can't access this object.
- Attempting to delete a CategoryNode that has children (referred by CategoryNode.Parent), or is referred to elsewhere, causes a failure.

## Fields

| Field | Details |
| --- | --- |
| MasterLabel | 
Type

string

Properties

Create, Filter, Group, Sort, Update

Description

Label for the category node.



 |
| ParentId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the parent of this node, if any.



 |
| SortOrder | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Indicates the sort order of child CategoryNode objects.



 |
| SortStyle | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Indicates whether the sort order is alphabetical or custom.



 |

## Usage

A CategoryNode defines a category of solutions. In the user interface, you can edit category definitions from Setup by entering Solution Categories in the Quick Find box, then selecting **Solution Categories**.

#### See Also

- [CategoryData](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_categorydata.htm "Represents a logical grouping of Solution records.")
- [Solution](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_solution.htm "Represents a detailed description of a customer issue and the resolution of that issue.")