Skip to Content

[SEGW] Gateway service annotations issue for smartfilterbar/smarttable


I'll go straight forward to the problem I'm facing.

I want to use the smartfilterbar control in my JS view. I'm using theis tutorial as a reference: SAPUI5 SDK - Demo Kit. But I noticed that the metadata is lacking the Annotation tags. So I tried importing vocabularies into my model, but the problem here is that although I'm using the same vocabulary as in the tutorials( I'm not able to see the Record property as in the tutorial metadata and then all the rest of the subproperties to it, or to be more concrete I can't create this part:

<PropertyValue Property="Label" String="Currency" />
<PropertyValue Property="CollectionPath" String="Currency" />
<PropertyValue Property="SearchSupported" Bool="true" />
<PropertyValue Property="Parameters">
<Record Type="">
<PropertyValue Property="LocalDataProperty"
PropertyPath="CurrencyCode" />
<PropertyValue Property="ValueListProperty"
String="CURR" />
<PropertyValue Property="ValueListProperty"
String="DESCR" />

These are all the properties I get with that vocabulary:

Can the problem be with the versions, because I noticed that we have SP Level 0007 on the system

And on top of that it has a SAPUI5 version 1.20.1:

Any ideas on this matter are welcomed.


Screenshot_1.jpg (155.5 kB)
Screenshot_2.jpg (117.3 kB)
Screenshot_3.jpg (128.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 11, 2015 at 01:52 PM

    The problem was in the version of the Gateway component. Make sure that you have the latest version (SP Level 0011) for that tutorial.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.