Available for: Content Management Server, Template Engine
Task: Returns the number of elements stored under the system configuration element at the specified location.
Syntax:
systemConfig getCounts {elemPath}
Function parameters:
-
elemPathis the path of a configuration element whose number of elements is to be returned. The parts of a path must be separated by a period.
Return value if successful: A list containing as many numbers as paths have been specified. Each number signifies the number of subelements of the corresponding configuration element.
Necessary permissions (CM only): none
Example:
CM>systemConfig getCounts content.globalPermissions 5