cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to add local annotation file in SAP Web IDE

Former Member
0 Kudos

Hi,

I am working on a SAPUI5 web application which uses oDataService to bind data to smart controls.

I need to add annotations to my oDataService. I enabled the annotations in my .xsodata

annotations {
enable OData4SAP;
}

I read in one of the blog that currently XS Advanced does not support OData and we should use the local annotation file and SAP Web IDE Annotation Modeller to do the same.

On trying to add a local annotation file, I am getting the following error metadata cannot be loaded.

I also tried to directly update the local metadata.xml to include sap:label and other annotation properties but they don't affect either.

Could someone help me with a way to work with the annotations so as to be able to use the smart controls.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

architectSAP
Active Contributor
0 Kudos

Hello Ekta,

If you like, please have a look at my respective blog:

How to make your OData entities work with the Fiori Overview Page and Cards leveraging the new SAP W...

This should hopefully give you a good idea how local annotation files work.

Best regards

Frank