on 03-14-2017 2:58 AM
Hi ,
I am using V2 version of OData in manifest.json file of SAP WEB IDE using UI5 template.I checked in network tabs of Developer tools its making batch call . Is it possible to stop default batch operation for default model in SAP WEB IDE for SAPUI5 template.
Thanks & Regards,
Abul
As mentioned by Jun useBatch can be set at the time of model creation, in your case it is manifest.json
below is the sample code of manifest.json under sap.ui5-->models
"sap.ui5": {
"_version": "1.1.0",
"dependencies": {
"minUI5Version": "1.30.0",
"libs": {
"sap.ui.core": {},
"sap.m": {},
"sap.ui.layout": {}
}
},
"contentDensities": {
"compact": true,
"cozy": true
},
"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"settings": {
"bundleName": "com.daimler.i18n.i18n"
}
},
"serverModel": {
"type": "sap.ui.model.odata.v2.ODataModel",
"settings": {
"useBatch": false
},
"dataSource": "<your data source name>",
"preload": true
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.