Customization > Extensibility Through Profiles, Stereotypes, Tag Definitions and Scripts > Advanced extensibility through stereotype scripts and script items > Deriving tagged values through derived definitions > Creating a derived tag definition
  
Creating a derived tag definition
1. Create a Tag Definition.
To Create a Tag Definition:
a. Right-click the Model, Package or Stereotype you want to own the Tag Definition.
b. Point to New, and then Tag Definition.
Or:
Point to New, point to UML, point to Profiles, and then click Tag Definition.
c. Name the Tag Definition as required.
If you want the display name of the Tag Definition in Modeler to be different from its real name: on the General tab of the Tag Definition's property pages, type the display name in the Name Alias box.
2. On the Tag Definition's Property Pages, click the Type tab.
3. Select the required Data Type (you cannot select Rich Text for a derived Tag Definition).
4. Select the Derived check box.
5. Click the Derivation Script tab, and then type the derivation script.
If you want to change the text in a larger window with the Text Format Toolbar available, click the Editor button. For more information about working with scripts, see:
Script Functions, Attributes and Objects — Overview
Script Functions, Attributes and Objects — Derivation Scripts for Tag Definitions
Script Template for Derivation Scripts for Tag Definitions
6. Click the Usage tab, and then click the Publish button.