Quantcast
Channel: SCN: Message List - SAP Fiori
Viewing all articles
Browse latest Browse all 2526

Re: in fiori app how the model and it's field blinding odata

$
0
0

HI Zongjie

suggest you try the Data Binding tutorial in the SAPUI5 SDK - it will help!

 

You can also find details of how to handle json vs xml odata models if you filter the sapui5 sdk documentation on binding

 

To point you in the right direction:

 

/ at the start of a binding indicates an absolute path to the data eg the direct path in your odata model

That's what you have been using so far

 

No slash indicates a relative binding eg perhaps the controller js has specified the start of the absolute path in your odata model under the name shipto

Relative paths are easier to work with when you have more complex odata model hierarchies

 

path is often used in calculated fields & formatters where extended syntax is needed to eg match multiple data elements to a single control

 

Good luck!

Jocelyn


Viewing all articles
Browse latest Browse all 2526

Trending Articles



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