cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
barlowse
Level: Powered On

Multiple Selection on lookup field

I have an application using Common data service entities. One entity has a relationship to the User entity, and the app control is set to allow multiple selection. However only one (last one selected) is stored in the entity on update. I have tried changing the update on the control to DataCardValue46.SelectedItems.'Full Name' - but I get an error on the card saying - "The property expects record values, but this rule produces incompatible Table values". Does anyone know how I can get the selected items stored in the table field?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Multiple Selection on lookup field

HI @barlowse,

Can you share a bit more about your issue?

Which relationship do you use?

 

The type of value generated by multiple selection in the combo box does not match with the type of the lookup field.

You can convert the table value to the record value.

I made a test.

I assume the relationship is many-to-many.

 9.PNG

Set Update property of DataCardValue25 to :

{Value:Concat(DataCardValue25.SelectedItems,'Full Name'&",")}

Regards,

Eason

Community Support Team _ Eason YU
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
barlowse
Level: Powered On

Re: Multiple Selection on lookup field

When I try to do as you suggested - I get the message - "The property expects Record values, but this rule produces incompatible Text values.