systemConfig getAttributes

Available for: Content Management Server, Template Engine

Task: Returns the specified tag attributes and their values for the system configuration element stored at the elemPath location.

Syntax:

systemConfig getAttributes elemPath {attrName}

Function parameters:

  • elemPath is the path of the configuration element whose tag attributes are to be returned. The parts of a path must be separated by a period.
  • attrName is the name of a a tag attribute whose value is to be returned. If no tag attributes are specified all tag attributes and their values will be returned.

Return value if successful: The list of tag attributes and their values. In this list each attribute and its respective value forms a name-value pair.

Necessary permissions (CM only): none

Example:

CM>systemConfig getAttributes userManagement.globalPermissions
type list