on 10-14-2015 7:51 AM
hi,
i'm using the oData submitChanges method in my UI5 component.
In case of a new entry i want the result back, in particular the ID of the newly created entry.
How can i get this ID ?
My code looks like :
this.getView().getModel().submitChanges(
// OK
function(oData) {
// oData undefined. Which data to get the newly created entry ID ?
....
},
// not OK
function() {
...
}
Any suggestions ?
gr Hans
It is working now. Only for a newly created entry the oData object was filled. For an existing one not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
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.