cancel
Showing results for 
Search instead for 
Did you mean: 

show only Texts instead of IDs in ValueLists

former_member729305
Participant
0 Kudos

Dear Community,

we are currently creating a list with UI LinteItems. One column refers to a valueList which shows the ID (UUID) and the description of the entity. once a row has been selected the ID is written into the line Item. Do you know if it was possible to only show the decription in the UI Line Item Field?

my ValueList annotation:

annotate TestService.ENTITY with {
 ValueListID @(
 Common.ValueListWithFixedValues : false,
 Common.ValueList : {
 CollectionPath : 'ENTITY',
 Parameters : [
 {
 $Type : 'Common.ValueListParameterInOut',
 LocalDataProperty : 'ID',
 ValueListProperty : 'ID'
 },
 {
 $Type : 'Common.ValueListParameterDisplayOnly',
 ValueListProperty : 'description'
 },
 ]
 }
 );
}; 

annotation for the lineItems:

annotate TestService.ENTITY with
@UI : {LineItem : [
 {
 Value : ValueListID,
 Label : 'ID ValueList'
 },
],
}; 

UI: Selection from Value List

UI: Line Items after Selection --> here I would like to only show the description field instead of the ID

I would be very grateful for any feedback.

Best Regards

Max

Accepted Solutions (0)

Answers (1)

Answers (1)

Rohit_Patil
Explorer
0 Kudos

add Text & TextArrangement property