...
...
SyntaxSyntax
admGetSpaces(categoryName)
Description
Excerpt |
---|
Deletes a space (takes a space key as a parameter)Takes a category name and returns an array of spaces (CSpace structs) in that category. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
category name | string | yes | The name of the category used to retrieve all spaces within that category. |
Return type
Returns an array of CSpace structures containing the space properties.
Example
...
Code Block |
---|
CSpace [] spaces = admGetSpaces("Products");
for(CSpace space in spaces) {
print(space.name);
} |
Prints name of each space in the Products category in the logs.
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|