cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Converting ICON value to Image in CDS View

shavneet12
Participant
0 Kudos
2,807

Hello People ,

I have a requirement , where i have attachments in the row table of Fiori app , coming form a CDS View.

One of the column in the table is ICON. From the SAP backend , ICON are coming in values from the pool ICON, as shown below.

I want to display their respective images using ABAP CDS views via annotations , IS this possible ?

aman9garg koradaramjee789

REgards ,

Shavneet

Accepted Solutions (0)

Answers (1)

Answers (1)

j_pavan_kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Shavneeth,

Try adding the below annotation to the image url property which you are trying to display.

// Metadata extension
@UI.imageURL : true

// Root view
@Semantics.imageurl : true

Thanks,

Pavan

szelbi
Participant
0 Kudos
The annotation proposed for the metadata extension has no effect on the Fiori Elements application. The text is still displayed in the field.