Skip to Content

Extract specific records after ODATA MODEL retrieved data from back end

Hi Experts,

How to read specific data from the NAMED data model( here i have used V2 odata Model using XML view and MANIFEST file) once data is retrieved successfully from the backend. i am able to retrieve data using table.bindrows. This is all fine.

Now once data is available under NAMED data model, now i want to read specific records from this named data model. How to achieve this?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 16, 2017 at 01:45 PM
    oModel = this.getView().getModel("myModel");"/EntitySet", {success: function(oData){
                                            //do the required 

    You can call read method of odata model and after successfully reading data, the success call back function will get executed, inside this function you have the model data in the input parameter oData, which is a JavaScript object, now you can use this object to read any specific data.



    Add comment
    10|10000 characters needed characters exceeded