on 02-20-2017 9:43 AM
hi all,
Today we were trying to create Fiori overview page(OVP) in webide. we have created northwind destination in our cockpit and we were using that destination to create our OVP
when we are creating annotation file we got this error "Cannot read property 'model' of undefined",
The error is coming from Sapui5 1.44 and sap innovation 1.42,
previously(2017/feb/16 Thursday) we created OVP in the same way and we were able to create annotation and card and got the output.
ps. there is no difference in following steps to create OVP.
Hi all,
I had same problem, with northwind.
I make own oData service and connect across SAP HCP CONNECTOR.
This solved my problem.
I use this tutorial for make own oData service.
https://blogs.sap.com/2017/01/24/creating-sap-fiori-overview-page-application/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like it is not resolving the destination correctly. You could try modifying the manifest.json in the following matter to try to get passed the issue. Within the manifest navigate to sap.app.dataSources. Under the northwind datasource you should see the uri
"uri": "/northwind/V2/Northwind/Northwind.svc/",
try changing it to
"uri": "/destinations/northwind/V2/Northwind/Northwind.svc/",
and then try adding the annotation. Make sure to change it back and you will also probably have to adjust the uri in the newly created annotation file.
Did you enter a css message for this?
Regards,
Jamie
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.
Hi Jamie Cawley,
I tried what you said now I am able to create annotation files but unable see the output, this is my console errors for northwind OData.
Internally I used my HCC(cloud connector) with ABAP backend service, I am able to create annotation and cards but when I am running the application I am receiving this error in my console and unable to see the output.
I am not using any CSS messages.
Regards,
Karthik
Check the browser console. Maybe the connection to the northwind service was not working.
Regards,
Jamie
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 |
---|---|
95 | |
11 | |
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.