OpenWGA 7.6 - OpenWGA Concepts and Features

Design and development » HDBModel framework » Tag reference for hdb-model.xml

<item>

Description:

This tag defines a mandatory item for a content.

HDBModel will automatically create this item, eventually based on the given expression, for new contents. It will also enforce the item existence on already existing contents if you add an item definition later to the model.

Valid under tags: <singleton-content>
<content>
Subtags: <custom>
Attributes:

default="<TMLScript-Expression>" (optional)

Determines a default value for this item. The TMLScript expression is evaluated against the content document. Omitting this let the item be initialized with empty (null) value.

name="<item-name>"

Determines the name of the item.