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 / Combobox value Collect...
Power Apps
Answered

Combobox value Collect and Patch

(0) ShareShare
ReportReport
Posted on by 13

Hello Friends,

 

I have a requirement to Patch Combox values to a Sharepoint List after accumulating the same in a collection. So Patch Statement I've figured out we can do like

Patch(ProjectCollection, ThisItem, {ProjectItem:inputname.Text,Technology:ComboBox1.SelectedItems});

But, I need collect statement to collect the next set of Project Item (text field) and Technology(Combobox) in Project Collection.

Collect(ProjectCollection,{ProjectItem:"",Technology: ?????? });

But I'm not sure What Technology to setup for Collect and Clear Collect Statement.

 

Thanks and Regards,

JD

Categories:
  • Eickhel Profile Picture
    374 Most Valuable Professional on at

    Hi,

     

    I'm not really sure I understood your requirement but do you want to Collect the patched items?

     

    If that's what you wanted, the patch method returns the "patched" item, you can Collect the patch method.

     

    Collect( ProjectCollection, Patch(.... ) )

    Please let us know it this is what you wanted to accomplish

  • JDpower Profile Picture
    13 on at

    Hello Eickhel,

     

    No i don't want to collect a patch. What I want is to know is for Project name as i'm taking text value in Patch so in Collect as default i can set double inverted comma " " however what should be set as default if i want to collect combobox1.selecteditems in technology. Will it be a table or a record within the collect statement? 

     

    Regards,

    JD

  • Verified answer
    Eickhel Profile Picture
    374 Most Valuable Professional on at

    Allright, if I understood correctly you could get the selected elements from the Technology combobox like this:

     

    Technology: ForAll(ComboBox1.SelectedItems, {
     '@odata.type' : "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id: Id,
     Value: Value
     })

     This way you will get a table of the selected items.

     

    Reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-forall

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard