Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

oData submitChanges for new entry with result

$
0
0

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


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>