Hi ,
I am currently developing an MDK application with Offline capabilities. For example, I can trigger a CreateEntity request which will create a request in backend. Once triggered, it saves locally and will be sent to backend on sync. But sometime the created entity might end up with error (may be made to fail due to business scenario). So, in that case the data will be still in local storage, which will anyway fail in subsequent syncs. Is there a way to remove those data if they fail from local storage, so that they will not be sent again in next syncs.
Request clarification before answering.
Yes this is possible. For all failed requests during offline synchronization, a new entity will be added in the ErrorArchive entity set. If you execute a delete action on that specific ErrorArchive entity, the request which fails will be removed from the list of pending requests for the next offline synchronization.
This is documented with sample implementation for our native SDKs, but is also applicable for MDK applications: https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/features/offlin...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.