Skip to Content
0
Former Member
Sep 24, 2014 at 10:32 AM

OData aggregation binding & SAPUI5 XML views

1021 Views

Hi all,

I am trying to develop an SAPUI5 application. I am building on an existing application that was realized using XML views (instead of JS). Currently I am trying to solve the following problem.

I want to display the name of a specific partner (i,e, a partner with a specific partner function) in the app. The backend does provide an OData model with the root model element "order". From there I can get a list of all partners via the association "partners".

Now if I was using a JS view, I would probably try to implement a manual filter for the partner function, get the first entry from the filtered list via element binding, and display the name attribute of that entry.

However, I couldn't find any examples on how to do this in an XML view. (What's more, XML views are a pain to debug...). Any ideas?

Cheers,

Markus

Attachments

example.png (65.8 kB)