on 10-29-2018 2:50 PM
lets say i have made two request on offline store and i want to undo my last request? so that my data in offline store resets to original value before performing a Flush operation.
Please help me with the solution.
Hi Vijay,
There's no way currently to delete a request from the request queue. What you can do is to send a DELETE request for the given "under-creation" entity. So basically you'll create and then delete the same thing during the upload so nothing will change in the backend.
Ákos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akos,
Thanks for your quick response.
Lets consider a scenario, where user has started servicing an order but realized he has some other priority things to take care of so he cancelled this service to come back at later time. he is still in offline mode.
According to your solution, if i DELETE the entity , then he will not have anything to service when he wants to revisit .
Basically what i want to achieve is, discard my recent changes on the data, so i can get original data back.
Thanks,
Vijay
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.