on 11-11-2015 10:54 AM
Hi,
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(com.sap.vocabularies.Common.v1) 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:
<Record>
<PropertyValue Property="Label" String="Currency" />
<PropertyValue Property="CollectionPath" String="Currency" />
<PropertyValue Property="SearchSupported" Bool="true" />
<PropertyValue Property="Parameters">
<Collection>
<Record Type="com.sap.vocabularies.Common.v1.ValueListParameterOut">
<PropertyValue Property="LocalDataProperty"
PropertyPath="CurrencyCode" />
<PropertyValue Property="ValueListProperty"
String="CURR" />
</Record>
<Record
Type="com.sap.vocabularies.Common.v1.ValueListParameterDisplayOnly">
<PropertyValue Property="ValueListProperty"
String="DESCR" />
</Record>
</Collection>
</PropertyValue>
</Record>
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.
Thanks!
The problem was in the version of the Gateway component. Make sure that you have the latest version (SP Level 0011) for that tutorial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.