Skip to Content
0
Former Member
Dec 02, 2016 at 07:09 AM

oDataModel or JSON model in Web IDE

186 Views Last edit Feb 22, 2017 at 12:13 PM 3 rev

By using oDataModel, without filter or queries returns entity Sets in oData as shown below

but oDataModel.read(), returns result set as shown below.

because i need filter data from back end, need to write .read() method, when we set result set data to model binding is not happening..

1. What I want to know is, is there any option to get data with entity set name as shown in first image with oDataModel.read()??

2. Can we use JSON Model instead and provide our own binding..??

3. Why in web IDE template they are getting all the entities at a time in component.js..??

Attachments