Wyn Enterprise User Guide

Wyn Enterprise: Add an Attribute

Each entity has a set of attributes and relations. You can add a new attribute once an entity is selected.

Add an Attribute

  1. To add a new attribute, in the model editor, select an entity, for which you want to add a new attribute, and click the Add button in the Attributes section.
    Add an attribute in the model editor

    Note that the Properties pane automatically expands on the right of the workspace.

  2. Enter the name and description for the new attribute.
    Add an attribute in the model editor

  3. In the Attribute Type field, select the attribute source type - database field, related entity, or sql expression.

    • When you select Database Field option, select the required field from the provided list.
    • When you select Related Entity option, select the required entity from the provided list.
    • When you select SQL Expression option, enter the SQL expression definition field content. This option supports validation and preview.

    The following example adds an attribute by binding to an existing field of the entity, such as 'Description'.
    Add an attribute in the model editor

  4. Click the Add button. A newly added attribute will appear in the list of attributes of the data model's entity.
    Add an attribute in the model editor