Skip to Content
avatar image
Former Member

Unable to add local annotation file in SAP Web IDE

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

capture.jpg (24.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 07, 2017 at 05:29 AM
    -1

    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 Web IDE annotation modeler

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

    Best regards

    Frank

    Add comment
    10|10000 characters needed characters exceeded