web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch sharepoint list ...
Power Apps
Answered

Patch sharepoint list with multiple choice combobox

(0) ShareShare
ReportReport
Posted on by 83

I have combobox (cbbEducationInstructor) where Users can be selected.

My Patch function waits for a text variable:
Patch(Oktatasok;Defaults(Oktatasok); {Oktató: whatShallIWriteHere}));;

 

Shall I concatenate the DisplayName of Users?
What is the ideal solution for this?

The data stored as Text in my SharePoint list, not Choice column.

If I try another field (which is choice type), then it writes my field is Table but has a different scheme than cbbEducationInstructor.SelectedItems.

 

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @ervinw ,

    Assuming that is a Person field the Combo Box is based on, this should write to a Text field with commas between the names

    Patch(
     Oktatasok;
     Defaults(Oktatasok); 
     {
     Oktató: 
     Concat(
     cbbEducationInstructor;
     DisplayName;
     ","
     )
     }
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • ervinw Profile Picture
    83 on at

    I just have to correct it with .SelectedItems:

     

    Concat(cbbEducationInstructor.SelectedItems;
     DisplayName;
     ","
     )

     

    What if my SharePoint instructor field is choice type;
    how can I save then?

     

  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @ervinw ,

    Probably something like this (it would need to be multi-choice)

    ForAll(
     cbbEducationInstructor.SelectedItems;
     {Value: DisplayName}
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • ervinw Profile Picture
    83 on at

    Thank you for both answers.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard