Link entities within entities

You can link or associate entities within entities, for example, a patient entity could have a corresponding doctor entity.

Linking entities to an entity helps you reuse available information. For example, a patient entity can reuse a doctor entity. To use an entity within an entity, create an Entity type attribute and associate another entity with the attribute. At runtime, when adding or updating an entity instance, the linked entity is associated with the main entity.

  1. On the Home page, click Data > Entities.
  2. Select an entity and group.
  3. Click Attribute Add Attribute.
  4. Enter the Name and Description for the attribute.
  5. On the Type list, select Entity.
  6. To make the entity mandatory, select the Mandatory check box.
  7. Consume the entity in the Entity box.
  8. Expand Layout and enter a Width and Maximum Height.
    Note If the combined height of the rows exceeds the maximum height, a scroll bar appears at runtime. If you do not specify a value, the list height is unrestricted.
  9. Click Save.