Skip to Content
0

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

Feb 20, 2017 at 09:43 AM

359

avatar image
Former Member

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.

1-sap-web-ide.jpg (48.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Jamie Cawley
Feb 24, 2017 at 02:24 PM
0

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

Regards,

Jamie

SAP - Technology RIG

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0
Mahesh kumar palavalli Feb 25, 2017 at 10:56 AM
0

Hi Karthik,

I am also having the same issue, I am using northwind oData service.. Earlier it used to work, now it is not working, probably the WebIDE issue.

Have you been able to solve it?

Best Regards,

Mahesh

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

No, not yet.

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

0
Jamie Cawley
Feb 27, 2017 at 02:19 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0
avatar image
Former Member Mar 03, 2017 at 08:17 AM
0

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/

Share
10 |10000 characters needed characters left characters exceeded