Adding a property

You can define properties for various mix components, such as services and operations.

Procedure

  1. Open the Editor.
  2. Select the component you want to modify.
  3. Click PROPERTIES.
    The Property Editor window pops up.
  4. Click the symbol in the bottom-left corner to add a property.
    Tip: The Editor suggests properties based on the type of the component, and the SPARKL extension used for provisioning. The colour of the hint tells you whether it is an obligatory (red), recommended (yellow), or optional (blue) property. Clicking the question mark ("?") in the right corner of the hint opens a help page that describes the property.
  5. Optional: If the property has attributes, use the symbol at the bottom-center to add them.
    Tip: The Editor prompts you attributes based on the property. The colour of the hint tells you whether it is an obligatory (red), recommended (yellow), or optional (blue) attribute. Clicking the question mark ("?") in the right corner of the hint opens a help page that describes the attribute.
  6. Optional: If the property has content, for example a script or an expression, define it in the Content view.

Results

You have added a property to the selected component.
Table 1. The Property Editor

Figure: The Attributes view


Figure: The Content view


Note: The sample properties are taken from the Traffic Lights example, a configuration using the Expressions extension.