Skip to Content
avatar image
Former Member

Use of Criticality in Ui5 from Odata

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 ?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    have solved it myself

    just close it

    Add comment
    10|10000 characters needed characters exceeded

    • 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