Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

OData aggregation binding & SAPUI5 XML views

$
0
0

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".

 

example.png

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


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>