Assign a Tagged Value to an Item |
You can assign Tagged Values to several model features, as listed in the Model Elements and Features with Tagged Values topic.
To add a Tagged Value follow the steps below:
- Create user-defined Tagged Values either using a predefined Tagged Value type or by creating a Custom Tagged Value type (as described in SDK for Enterprise Architect).
- Select the model feature to associate with the defined Tagged Value.
- Ensure that the Tagged Values window is visible (select the View | Tagged Values menu option, or press [Ctrl]+[Shift]+[6]).
- Either click on the New Tags button or press [Ctrl]+[N]. The Tagged Values dialog displays.
- On the Tag field, click on the drop-down arrow and select the appropriate defined Tagged Value to assign to the item.
Note: |
Direct entry of predefined Tagged Values is only available for predefined tags of type string. |

- To confirm selection of the Tagged Value, click on the OK button.
Modify Tagged Values with the Tagged Values Window
Once a Tagged Value has been assigned to the model feature it is possible to edit the values from the Tagged Values window. Model features that you can apply Tagged Values to are detailed in the Model Elements and features with Tagged Values topic. To edit the Tagged Values follow the steps below:
- Click on the View | Tagged Values menu option, or press [Ctrl]+[Shift]+[6]. The Tagged Values window displays.
- Click on the model feature for which to edit the Tagged Values. The window shows all of the Tagged Values for the selected feature.
- Edit the fields as appropriate. The information entered can only reflect the masked value types that have been defined either as a predefined type or in the format defined by the creation of the Custom tagged type.
There are three types of value field for a Tagged Value:
- 'Open' fields, in which you can type any appropriate value
- 'Drop-down list' fields, where you click on the drop-down arrow to select from a discrete list of possible values such as M or F, or Win, Lose or Draw
- 'Further detail' fields, where you click on an ellipsis ([...]) in the field to display a dialog in which you enter information (such as notes) or indicate a source of further information (such as a classifier).
The example below shows a value being modified, using a drop-down list.

Note: |
To override a Tagged Value defined in a parent element, edit the value in the from <parentname> compartment of the Tagged Values window. Once this has been done the tag is moved into the selected element's Tagged Values; this does not affect the Tagged Values defined in the parent element. |
