Skip to Content

Er_entity in get Entity not working

Iam sending few records back to frontend using Update Entity. I have used er_entity to do this operation .but iam unable to get results from this URL

oModel.update(/Entity, oEntity,fnSuccess, fnFail);

In success function I get oData undefined

fnSuccess (oData,oResponse){

}

I always get data from oData in create , read but why not in update?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 30, 2016 at 04:41 PM

    As per OData standards 'Update' operation need not return any response. '204' means that update is a success. Even Though Gateway framework has er_entity as the exporting parameter, it's content are currently ignored.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2016 at 05:11 AM

    Hi Sagar,

    I too have the same doubt..

    We won't get data in Update method even though we populate the ER_ENTITY parameter..

    ER_ENTITY works fine in Create ,Get methods..

    Should have a specific reason for this..??

    Regards,

    Rohan

    Add comment
    10|10000 characters needed characters exceeded