Defining a Dynamic Attribute Property

Use the Add Dynamic Attribute command from the Properties menu to add a dynamic attribute property to the class currently selected in the Class Browser.

To add a dynamic attribute property

  1. In the Class Browser window, select the class to which the dynamic attribute is to be added.

    You can add a dynamic attribute property only to a non‑collection class in which a dynamic cluster has been defined.

    Design-time attribute properties cannot be added, changed, or deleted if the owner class is currently in use.

  2. Select the Add Dynamic Attribute command from the Properties menu.

    The Define Dynamic Property dialog, shown in the following example, is then displayed.

    The read‑only Is Dynamic Property check box is checked, and cannot be unchecked. (Use the Define Attribute dialog to define a static attribute property.)

  1. In the Dynamic Property Cluster combo box, perform one of the following actions.

    • Select the dynamic property cluster in which you want to define the dynamic attribute property.

    • Specify the first character or the first few characters of the dynamic property cluster in the text box and then select the required cluster from the list. The selected cluster is then displayed in the Dynamic Property Cluster combo box.

    The type can be any primitive type or any primitive array class defined in the schema.

All other values are the same as those on the Define Attribute dialog for static properties. For details, see "Adding an Attribute Property".

For details about the message box display when you click the OK button, see "Dynamic Clusters and Properties".