Syntax
admAddSpaceCategory(spaceKey, categoryName)
Description
Adds a category in the space.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
space key | string | yes | The key of the space to be added to the category. |
category name | string | yes | The category to add to the space. |
Return type
boolean (true/false)
Example
return admAddSpaceCategory("TST", "Products");
Returns true.
See also