Skip to Content
0
Nov 04, 2017 at 08:31 PM

Bind Association XSOData in UI5?

172 Views

Let's say I have Employee entity associated with Address entity in XSOData and I want to bind them to a single control - StandardListItem. How to achieve this?

<List id="EmployeeList" headerText="Employees" items="{ path: '/Employee'}">
  <items>
    <StandardListItem title="{Name}" //from Employee entity
                      description="{Address}" //from Address entity
    />
  </items>
</List>

Associated address details available at Employee('emp1')/Address/


TIA.