Available for: Content Management Server, Template Engine
Task: The function replaces the contents of system configuration elements or adds elements to the system configuration.
Additional information:
- This command can be used only on application start and in single mode.
- A configuration element can have as contents either subelements or a
character string value, but not both. Therefore all subelements of a
configuration element will be deleted when its contents is set with
setTexts.
Syntax:
systemConfig setTexts {elemPath elemText}
Function parameters:
-
elemPathis the path of a configuration element to be replaced or to be added to the system configuration. The content of an element (without the surrounding tags) is specified as theelemTextstring immediately followingelemPath. The parts of a path must be separated by a period. -
elemTextis the contents of the new configuration element with the pathelemPath.
Return value if successful: none.
Necessary permissions (CM only): The logged-in user must be a superuser.
Examples:
CM>systemConfig setTexts tuning.master.cm.minIdleSlaves 3 content.sortKey title CM>systemConfig setTexts userManagement.preferences.maxHierarchyLines 250