cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements List Local Annotation Concat 2 DataPoint Value Components

0 Kudos

My requirement is to concatenate two entity values into one column value without changing the back-end.

I configured two Component nodes under the Value node of the UI.DataPoint annotation in the Annotation Modeler.

Below code is generated by Web IDE:

<Annotation Term="UI.DataPoint">
  <Record Type="UI.DataPointType">
    <PropertyValue Property="Value">
	<Apply Function="odata.concat">
		<Path>Field 1</Path>
		<Path>Field 2</Path>
	</Apply>
    </PropertyValue>
  </Record>
</Annotation

The generated code seems logical to me.. Unfortunately only the value of the first field (Field 1) is shown.

Anyone any idea what's preventing the standard odata.concat functionaliy to work?

Again, I don't want to change the back-end nor I want to extend the Fiori Element list.

ps. Question: list report annotation concat 2 properties doesn't help as this is referring to changing back-end or extending.

Accepted Solutions (0)

Answers (1)

Answers (1)

vicbailon
Explorer
0 Kudos

Hi Robin, it works but you can put a separator as (- , _ "whitespace") from xml annotation