Skip to Content

How to delete particular data values which is created in Offline from local DB

Oct 20, 2016 at 09:13 AM


avatar image

Hi, I am trying to implement Offline functionality in UI5.

Once I successfully created the record in offline db.

How can I delete particular record from offline DB.

I tried with DELETE method, passing temporarily created Primary key value, even I tried with the created uri which is under metadata. But I could not succeed.

var that = this; var sURL = sServiceUrl + "CreatePhyInvSet('"+ LOCAL1+"')"

var authStr = auth;

var oHeader = {};

oHeader['Authorization'] = authStr;

var request = {

headers : oHeader,

requestUri : sURL,

method : "DELETE"


OData.request(request, readOfflineSuccessCallback, errorOfflineCallback);


Help me out to fix this. Thank you

upload.png (130.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Midhun VP Nov 02, 2016 at 01:36 PM
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you Midhun for the quick reply.

Let me go through the links and let you know.


I can able to update the value in offline db but could not perform DELETE operation.

One more issue I am facing is