Relation

The Relation element defines a BA diagram relation.

Table 1. Relation element attributes
Attribute Options
name Defines the type of relation. There can be multiple relations of the type defined by name in BA diagram. The name must be unique in both item and relation definition.
dynamicProperties List of dynamic propertiesthat apply to the item node.

Syntax

<BusinessApplication>
  <DynamicProperties> dynamic property list </DynamicProperties>
  <Items> 
    <Item> </Item>
    <BasicItem> </BasicItem>
    <Relation> </Relation>
  </Items>
</BusinessApplication>

Example

<Items>
    <Item name="Program" label="Program" extension="4prg"   icon="bullet_class"/>
    <Item name="Form" label="CRUD Form" extension="4fdm"   icon="document_4fdm" dynamicProperties=""/> <!--dynamic properties here -->
    <Item name="Zoom" label="Zoom Form" extension="4fdz"   icon="document_4fdz" dynamicProperties=""/> <!--dynamic properties here -->
    <BasicItem name="Gallery" label="Gallery" icon="ba_choosePhoto"/>
    <BasicItem name="Phone" label="Phone" icon="ba_callPhone"/>
    <BasicItem name="Mail" label="Mail" icon="ba_composeMail"/>
    <BasicItem name="SMS" label="SMS" icon="ba_composeSms"/>
    <BasicItem name="Contact" label="Contact" icon="ba_chooseContact"/>
    <BasicItem name="Maps" label="Maps" icon="ba_mapsTo"/>
    <Relation name="Relation"        dynamicProperties=""/> <!--dynamic properties here -->
    <Relation name="PhoneRelation"   dynamicProperties="action;basicItemPhoneSrcField"/>
    <Relation name="MailRelation"    dynamicProperties=""/> <!--dynamic properties here -->
    <Relation name="SMSRelation"     dynamicProperties="action;basicItemSMSToSrcField;basicItemSMSContentSrcField"/>
    <Relation name="MapsRelation"    dynamicProperties="action;basicItemMapsSrcField"/>
    <Relation name="PhotoRelation"   dynamicProperties="action;basicItemImagePathSrcField"/>
    <Relation name="GalleryRelation" dynamicProperties="action;basicItemImagePathSrcField"/>
    <Relation name="ContactRelation" dynamicProperties="action;basicItemVcardSrcField"/>
</Items>