cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
barlowse
Advocate IV
Advocate IV

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
v-sheyu-msft
Community Support
Community Support

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.

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (74,932)