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

CDS annotation @ui:lineItem #WITH_URL does not work

0 Likes
5,641

Hello,

I am trying to show a column as a Link in a table with CDS annotations. I have followed https://help.sap.com/viewer/cc0c305d2fab47bd808adcad3ca7ee9d/7.5.9/en-US/7ef29588793445fc8cf9f0974af....

This translates correctly in the Annotation file as below.

  <Record Type="UI.DataFieldWithUrl">
                     <PropertyValue Property="Label" String="Archived link" />
                     <PropertyValue Property="Value" Path="clickInv" />
                     <PropertyValue Property="Url" Path="urlInv" />
                  </Record>

But in the view, it still shows plain text. I see that values for both clickInv and urlInv are calculated correctly. But it does not show like a link. Any pointers to solve this issue..

Thanks'

Pradeep

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

I have missed the annotation "qualifier" which is part of other columns. It worked now.

AshmiDadhich
Newcomer
0 Likes
Can you please update final annotation how it worked, I am facing same issue tried a lot of things but not able to get URL.