Properties of an optional multiple element of a sequence type
You can assign certain properties to an optional multiple element in a sequence type.
When an element in a sequence is an optional multiple (that is, its minOccurs property is set to 0 and its maxOccurs property is set to unbounded), it has the same properties as a multiple element of a sequence type (see Properties of a multiple element of a sequence type). It also has the following additional properties:
| Property | Values | Meaning | Default |
|---|---|---|---|
| present (guided editor only) |
true or false | When false, the element initially not present. | true |
| optionalMarker (guided editor only) | String | Defines the keyword that is displayed when the multiple element is empty. | none |
| toolTip (guided editor only) |
String | A tooltip to be displayed on the optional marker tokens. | none |
When you define the optionalMarker property, the multiple element appears as a simple text token when it is empty, displaying the value of the optionalMarker property. When you click it, this text token disappears and is replaced with the multiple element itself. If you delete all the elements of the multiple, the element reverts back to the optionalMarker token.