Skip to Content

Use of Criticality in Ui5 from Odata

Oct 02, 2017 at 01:53 PM


avatar image
Former Member

Hi all

I am trying to use Fiori elements and would like to invoke the "Criticality" on a new fiori overview list.

I would like to have my oData from abap to control the property on the icon on the "Criticality" (can have 4 diffrent values 0, 1, 2, 3) - see here :

My annotations look like this - where the field IconPickLight contains 0, 1, 2 or 3

<Record Type="UI.DataField">

<PropertyValue Property="Value" Path="IconPickLight"/>

<PropertyValue Property="Criticality" Path="IconPickLight"/>

<PropertyValue Property="Label" String="Labelname"/>


BUT my list won't show the icon - only the value...

What should I then send from the odata ?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Oct 02, 2017 at 02:32 PM

have solved it myself

just close it

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Can you share your findings?

Former Member

The Odata field should be defined as integer (Edm.Int32) on the segw model

Then you can set it to 0,1,2 or 3 and the icon will be displayed