Available for: Content Management Server
Task: This command moves a field group’s field to a different location.
Syntax:
attributeGroup withIdentifier groupId moveAttribute {parameter value}
Function parameters:
parameter
specifies the name of a parameter to
be taken into account when the field is moved. The following parameters must be
specified:
attribute
denotes that
value
is the name of the field to be moved.index
denotes that
value
specifies the position at which the field
is to be inserted into the group’s field list. The index of the first
field is 0.value
specifies the value of the respective
parameter.Return value if successful: none.
Necessary permissions: The user must have the permissionGlobalRTCEdit
permission.
Example: Make the field main
the second field on
the field group newsPub.headlines
:
CM>attributeGroup withIdentifier newsPub.headlines moveAttribute attribute main index 1