on 10-15-2015 9:33 AM
we are using this model sap.ui.model.odata.ODataModel with batch-processing everything works fine.
but we would like to use this model
i see there are some events for the batch-handling but no createBatchOperation and submitBatch
who can ths be done with this model???
thx a lot
oliver
Hi Oliver,
You can find more information in the API reference:
https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.model.odata.v2.html
When you look in the experimental API's you'll see the following:
sap.ui.model.odata.v2.ODataModel#attachAnnotationsLoaded The API is NOT stable yet. Use at your own risk.
sap.ui.model.odata.v2.ODataModel#detachAnnotationsLoaded The API is NOT stable yet. Use at your own risk.
sap.ui.model.odata.v2.ODataModel#getServiceAnnotations This feature has not been tested due to the lack of OData testing infrastructure. The API is NOT stable yet. Use at your own risk.
In the beta version of openui5 you already have more functions that you could use:
https://openui5beta.hana.ondemand.com/#docs/api/symbols/sap.ui.model.odata.v2.ODataModel.html
Kind regards,
Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the part of batch processing
https://openui5.hana.ondemand.com/docs/guide/6c47b2b39db9404582994070ec3d57a2.html
Kind regards,
Wouter
I did not test a lot but what i guess is:
on screen i have a lot of tables and also to edit them.
i would not only need changes i need always the complete table - ok i could change, but backend is designed to always get the all data.
so now i read the whole table content and use manual batch with the old oDataModel, i use the old one only for batch and the v2 for all the other things
and for sure just field manipulating would be ok to do on the model data....
maybe for next app we will build backend as it could also work with delta-data.
thanks a lot
regards oliver
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.