cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop batch call is Odata v2 version In SAP WEB IDE?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member365727
Active Contributor

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
			}
		}
	}

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos
Former Member
0 Kudos

Where I need add useBatch ? Can I add use batch in manifest.json file ?If yes, how we can do ?
is it possible useBatch is in xml view when we bind table using items aggregation