Skip to Content

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer