How do I implement ETags in UI5 application. In the app, I am submitting the changes to backend using oModel.submitChanges() and this ETag error(status code 412) is coming in success handler of submitChanges method. So, I want to provide a dialog when this error comes and cancel submitting my changes to backend. How do I accomplish it.
I have tried below thread but it didn't help me.