Skip to Content
0

How to set the binding for item list of Master products?

Nov 17, 2016 at 11:21 PM

35

avatar image
Former Member

Hello All,

I built an SAP UI5 application using a custom SAP NWG oData services.

Created navigation properties for Product Content with relative constraint of Product ID between the entitysets with cardinality Product '1' and Content 'M'.

I used the splitApp to get the Master-Detail views.

Bound Products to Master with type Active by expanding the items to navigation properties. Bound contents to a list in Detail View by passing the path of the product selected in the Master.

I also have other navigation properties for vendor which is bound to other tab in the details view.

Now, the issue is for a product selected in the Master view, I can see the vendor details displayed as per the expanded property. But a blank list is displayed for contents.

When I reversed the cardinality to Product 'M' and contents '1' similar to how we maintained for vendors, I see the list being populated only with one value as it triggers Get_Entity where as Get_EntitySet in other case.

oData service is providing all the results while I checked the browser result.I like to know how to get that data in the UI5 app.

Request your inputs.

Cheers,

Sunil

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers