Skip to Content
avatar image
Former Member

Create, Update, Delete with sap.ui.core.util.MockServer?

Using sap.ui.core.util.MockServer. Can read data, but not create, update or delete. Though data is successfully cached but not written into the local data file. The create, update and delete executions working just fine with the remote model. There is not the fault : (

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 10, 2017 at 07:37 AM

    Hi,

    This is how JavaScript works. JavaScript don't have built-in file I/O - meaning you can't manipulate with files just with JavaScript.

    So if you want to change your server files you would need to use something like nodejs to create a service which will update your files.

    Add comment
    10|10000 characters needed characters exceeded