on 05-11-2016 7:20 AM
Hi experts,
I am getting an error in my fiori application as
Uncaught TypeError: oModel.createBatchOperation is not a function,
Can you suggest a solution for this
Thanks,
Shahid
Hello Shahid,
Assuming you are using OData V1 Model. Please refer the API Documentation and example. In case you are not able to fix, please provide specific error as suggested by Mike.
BR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shahid,
Are you instantiating your oDataModel Correctly?
Please read:
Instantiating an OData Model - SAPUI5: UI Development Toolkit for HTML5 - SAP Library
For Example:
var oModel = new sap.ui.model.odata.v2.ODataModel("http://services.odata.org/Northwind/Northwind.svc/");
var oModel = new sap.ui.model.odata.v2.ODataModel({serviceUrl: "http://services.odata.org/Northwind/Northwind.svc"});
Best Regards
,Gonzalo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shahid,
I would suggest that you might want to add a few details of your situation. Things like which Fiori app, what version of SAPUI5, your system architecture, what you have tried so far, the log files or more complete error message, etc. Unless this is a very easy item to troubleshoot, many folks will skip responding as a result.
has a broad overview of how to get the best responses by posting well up front.
Regards, Mike (Moderator)
SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.