attributeGroup attrGroupRef moveToIndex

Available for: Content Management Server

Task: This command moves a field group to a different location in the format’s list of field groups.

Syntax:

attributeGroup withIdentifier groupId moveToIndex index

Function parameters:

  • index specifies the position at which the field group is to be inserted into the file format’s list of groups. The index of the first group is 0.

Return value if successful: none.

Necessary permissions: The user must have the permissionGlobalRTCEdit permission.

Example: Make the field group newsPub.headlines the third group in the file format’s list of groups:

CM>attributeGroup withIdentifier newsPub.headlines moveToIndex 2