Query and organize communities with categories for enhanced discovery and streamlined management
getCategories()
function retrieves all available community categories with flexible sorting and filtering options. This method returns a Live Collection that automatically updates when categories are modified.
Parameter | Type | Required | Description |
---|---|---|---|
sortBy | Enum | No | Sort order for categories |
includeDeleted | Boolean | No | Include deleted categories in results |
Option | Description |
---|---|
displayName | Alphabetical order by category name |
firstCreated | Oldest categories first |
lastCreated | Newest categories first |