
Enables you to create extra data types for each dimension, and to store specific information for that data type for each element.
This command has the following sub-commands:
usage:r3 [-c <arg>] dimension <dimension>attribute attribute tools create makes an attribute available set set an attribute value unset clear an attribute value destroy makes an attribute unavailable list [-a <arg>] [... list attribute values
An example of attribute usage can be illustrated with the r3 translation save commands. If
no attribute is set for the intl dimension fr,
r3 translation save sets the
target-language field with the value fr.
However if an attribute lang is created for intl and is
set to fr-FR for intl fr, the target-language field of
the appropriate elements of the XLIFF file is set to
fr-FR. The attribute property was set up with this
example in mind. However, allowing the user to set arbitrary
attributes for particular dimension elements provides for any desired
extra information about the element that cannot be put anywhere
else.
r3 dimension dimension
attribute create
attribute_name
Creates an new attribute.
none
none
r3 dimension dimension
attribute set
dimension_element
attribute_name attribute_value
Sets a value for the specified attribute for the specified dimension element.
set | add, tag
none
r3 dimension dimension
attribute unset dimension_element
attribute_name
Removes a value for the specified attribute for the specified dimension element.
unset | clear, remove, untag
none