Available for: Content Management Server, Template Engine
Task: The function modifies the values of tag attributes or adds the tag attributes specified as name-value pairs to the given system configuration element.
Additional information: This command can be used only on application start and in single mode.
Syntax:
systemConfig setAttributes elemPath {name value}
Function parameters:
elemPath
is the path of the configuration
element to which tag attributes are to be added. The parts of a path must be
separated by a period.name
is the name of a tag attribute to be added
to the system configuration. If the element already has such an attribute, its
value will be set to the new value.value
is the new value of the respective tag
attribute referred to with name
.Return value if successful: none.
Necessary permissions (CM only): The logged-in user must be a super user.
Example:
CM>systemConfig setAttributes server.cm fileName cm.xml