cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

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
Highlighted
Community Support
Community Support

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.
Highlighted
Advocate III
Advocate III

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.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (5,901)