on 07-07-2017 3:37 AM
Hi Experts,
I am trying to bind the field "value" in sap.m.NumericContent with a value from ODATA service, I am getting '0' even if I get the value in the binding.
Please let me know how to bind the aggregation "content", since in other places I am able to bind similar aggregation properly but here the cardinality is 0..1 but I am passing the EntitySet in the XML View.
Kindly let me know how to bind a Entity in an aggregation with 0..1 cardinality. which may solve the issue.
Hi Selvaganesh Ilango ,
From backend service are you getting the data as an array of object containing only one element than the way you bind is correct but if its object structure instead of array than replace content with binding (this means you need to use element binding instead of content)
Check out this https://sapui5.hana.ondemand.com/1.36.7/docs/guide/91f05e8b6f4d1014b6dd926db0e91070.html for more reference ...
thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.