attributeGroup attrGroupRef removeAttribute

Available for: Content Management Server

Task: This command removes a field from a field group.

Additional information: You cannot remove fields from the base group. Fields removed from groups will automatically be assigned to the base group.

Syntax:

attributeGroup withIdentifier groupId removeAttribute attribute

Function parameters:

  • attribute specifies the name of the field to be removed.

Return value if successful: none.

Necessary permissions: The user must have the permissionGlobalRTCEdit permission.

Example: Remove the field head2 from the field group newsPub.headlines:

CM>attributeGroup withIdentifier newsPub.headlines removeAttribute head2