4 weeks ago
Hi, I am trying to expand data in my fiori app. I am using example from
https://www.techippo.com/2017/09/bind-expand-sapui5-xml-view.html
As we can see, in example we have a full list of all flights:
items="{path : '/FlightSet' , parameters:{expand : 'ToFlightSchedules,ToFlightBooking'}
I need to get data about only one selected flight. I can not use something like this:
items="{path : '/FlightSet('id_of_something')' , parameters:{expand : 'ToFlightSchedules,ToFlightBooking'}
because I have error (to many apostrophes 😉 ).
Of course, I have prepared getaway on backend, which gives me correct data, for example:
/PracownicySet?$expand=toSzkolenia - it returns me expanded data for all records
/PracownicySet('00744272')?$expand=toSzkolenia,toHistoriaStanowisk - it returns me expanded data only for record with id 00744272.
What should I do to display expanded data just for one, selected record?
User | Count |
---|---|
79 | |
11 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.