on 03-28-2017 11:59 AM
Hi Experts,
We are facing issue with the VizFrame FeedItem control in the UI5 application.
Error is "Sales" is of type string, expected any[] for property "values" of Element sap.viz.ui5.controls.common.feeds.FeedItem#__xmlview2--valueAxisFeed"
this issue suddenly popped in all the landscapes. please guide.
Thanks,
Anurag
In case the string "Sales" in is given by using i18n like:
<viz.feeds:FeedItem uid="categoryAxis" type="Dimension" values="{i18n>sales}" />
You might want to try to change it to a hard coded string:
<viz.feeds:FeedItem uid="categoryAxis" type="Dimension" values="Sales" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess "suddenly" is after the applications or Fiori Launchpads UI5 version was updated to 1.44. For whatever reasons this seams to confuse the logic from 1.44 on.
As it worked with i18n before you might want to raise a bug report.
Hi Anurag,
what was the outcome of your bug report via official channels like https://launchpad.support.sap.com ?
Regards,
Ulrich
I had the same issue and was wondering how you translate your measures if you cant use i18n in the values property.
The solution was to use the "identity" property in your measure definition and use the name property for your translation:
<viz.data:MeasureDefinition name="{i18n>yourTranslationHere}" identity="Sales" value="{ ... }"/>
Hope this helps others with the same problem
Hi Guys
How to Use and maintained i18n for same
<viz.feeds:FeedItem uid="categoryAxis" type="Dimension" values="{i18n>sales}" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anurag,
I am also getting the same problem.
Is this issue solved? Please let me know.
Regards,
Bidhan Roy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check metadata for Sales...this should be of type Int or Decimal (someone might have changed the data type from int to string)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.