Show TOC

Creating Custom PropertiesLocate this document in the navigation structure

Users with the Edit Extensions on Web right can define new custom properties for modeling objects. When you define a custom property it becomes immediately available to all objects of the specified type in all models of that type on their Info facet, in a section entitled Custom Properties.

Procedure

  1. From the homepage, click Start of the navigation path Administration Next navigation step Extensions End of the navigation path. The list of extensions contains:
    • BPMN2 - To add custom properties to BPMN 2.0 Descriptive and Executable process diagram objects.
    • Process Map - To add custom properties to process map objects.
  2. Click the name of the extension you want to edit to open it.
    The extensions list all the classes of objects available to define custom properties for.
  3. If the object type for which you want to define a new property is present in the list, click it to open it in the editor. If it is not present, click the + button, and click the object type to add it and open it in the editor.
    In this example, the classes in the BPMN2 extension are listed:

  4. Click the + button to define a new property for the object type, and enter:
    Property Description
    Name Specifies the name of the property as it will appear in the interface.
    Code Specifies the internal name of the property, which must not contain spaces or the dot character and must be unique for this class of objects.
    Caution If you change the code after the property is in use, then any values set in models will be lost.
    Data type You can choose between:
    • Boolean - Yes/No values
    • Integer - Whole number values
    • String - Single-line textual values
    • Text - Multiline textual values
    • Object - Link to another object
    Default value Specifies the value of the property that will be set in the interface by default.
    Object type [object] Specifies the type of object that can be selected for the property. Click the tool to select the object type from a list.
    In this example, a new boolean property is created for the Data Store class:

  5. Click Save to save your changes.
    The custom property is immediately available to all objects of the specified type in all models of that type created in PowerDesigner Web on their Info facet, in a section entitled Custom Properties:

    Note Models created prior to v16.5 SP05 and models created in the PowerDesigner desktop client will not automatically display custom properties. To enable them, you must check the model out with the desktop client, manually attach the BPMN2 or Process Map extension, and check them in again.