on 06-06-2017 11:00 PM
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
Hello Ekta,
If you like, please have a look at my respective blog:
This should hopefully give you a good idea how local annotation files work.
Best regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.