on 02-19-2021 1:48 PM
Hi Community,
I'm trying to implement CRUD operations with the OData v4 model as suggested in the ui5 demo kit.
when I try to use SubmitBatch API, although I get a successful result, the function won't have any response parameters. (in the below example oData and oResponse)
How do I get the response from the API request. Can someone please suggest.
//manifest
"": {
"dataSource": "default",
"settings": {
"autoExpandSelect": true,
"operationMode": "Server",
"groupId": "$auto",
"synchronizationMode": "None"
}
}
//controller
onSave : function () {
var fnSuccess = function (oData, oResponse) {
//oData and oResponse is undefined
}.bind(this);
var fnError = function (oError) {
}.bind(this);
this.getView().getModel().submitBatch("peopleGroup").then(fnSuccess, fnError);
},
Did you solved it? I have a same problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.