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:
-
parameterspecifies the name of a parameter to be taken into account when the field is moved. The following parameters must be specified:-
attributedenotes thatvalueis the name of the field to be moved. -
indexdenotes thatvaluespecifies the position at which the field is to be inserted into the group’s field list. The index of the first field is 0.
-
-
valuespecifies 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