Skip to Content
0

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

May 10, 2017 at 07:07 AM

38

avatar image
Former Member

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 : (

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vladimirs Semikins May 10, 2017 at 07:37 AM
1

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.

Share
10 |10000 characters needed characters left characters exceeded