The PowerDesigner metamodel specifies the attributes available by
default for an object (for example, name and comment). To quickly extend the metamodel and
add a new attribute from an object property sheet, click the menu button, and select
New Attribute. The new attribute is immediately available on all
objects of this type.
Note: The definition of the new attribute is stored in a PowerDesigner extension file.
For detailed information about working with these files, see Customizing and Extending PowerDesigner > Extension Files.
- Open the property sheet of the object you want to extend, click the menu button, and select New Attribute to open the New Attribute dialog:
- Enter a Name and Datatype for the new attribute and complete any other appropriate fields.
- [optional] Click Next to specify the property sheet tab on which you want the attribute to appear. If you choose to create a new property sheet tab, you must enter a tab label to display.
By default, the attribute is inserted on the tab from which you launched the New Attribute dialog, if the tab is editable.
- [optional] If you want to view the new attribute in the PowerDesigner Resource Editor, select the Open Resource Editor on Finish checkbox.
For information about working with the Resource Editor, see Customizing and Extending PowerDesigner > PowerDesigner Resource Files
- Click Finish to close the dialog and create the new attribute.
The attribute appears on the specified property sheet tab: