cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while creating annotation file for OVP template in webide only from 2017-02-17

Former Member
0 Kudos

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.

Former Member
0 Kudos

No, not yet.

the problem was not there before 2017-02-17.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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/

jamie_cawley
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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

jamie_cawley
Advisor
Advisor
0 Kudos

Check the browser console. Maybe the connection to the northwind service was not working.

Regards,

Jamie

SAP - Technology RIG

Former Member
0 Kudos

Hi Jamie Cawley,

Northwind is working with other templates like master detail, list but not working with OVP.

it is a problem with webide not with northwind because before 2017-02-17 even OVP template with northwind was working but it is not working after 2017-02-17.

Regards,

Karthik.