Available for: Content Management Server
Task: With this command fields can be added to a field group.
Additional information: Each specified field must have been assigned to the format the group belongs to. You cannot assign a field to the base group. Only fields assigned to the base group can be assigned to a different group.
Syntax:
attributeGroup withIdentifier groupId addAttributes {attribute}
Function parameters:
attribute
specifies the name of a field that is to be
assigned to the group.Return value if successful: none.
Necessary permissions: The user must have the permissionGlobalRTCEdit
permission.
Example: Add the fields head1
and head2
to the
headlines
group belonging to the format newsPub
:
CM>attributeGroup withIdentifier newsPub.headlines \ addAttributes head1 head2