systemConfig getTexts

Available for: Content Management Server, Template Engine

Task: The function returns the contents of the specified system configuration elements.

Additional information: A configuration element can have as content either subelements or a character string value, but not both. Therefore the function returns the empty character string if the queried configuration element has subelements.

Syntax:

systemConfig getTexts {elemPath}

Function parameters:

  • elemPath is the path of a configuration element whose contents is to be returned. The parts of a path must be separated by a period.

Return value if successful: A list containing the contents of the specified system configuration elements. The contents are not formatted.

Necessary permissions (CM only): none

Example:

CM>systemConfig getTexts tuning.master.cm.minIdleSlaves content.sortKey
3 name