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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / filter gallery list by...
Power Apps
Answered

filter gallery list by checkbox and bulk update SharePoint list

(0) ShareShare
ReportReport
Posted on by 193

Hello,

I'm in the process of creating an inventory app. I'm stuck on how to select items on the Gallery List using the checkbox function to filter the view and then bulk update Status by click Bulk Update button. So scenario would be select items that are being returned. Tick the check box to filter the gallery list and then click Return button to update status column to returned. 

shelleyb_1-1686756228881.png

shelleyb_2-1686757500358.png

This is what I have under Items I'm assuming I'd need to add a layer to filter by CheckboxCanvas1 and then I'm at a loss what I need to enter on the button to Patch and change the status on the SharePoint List

 

Any help would be warmly welcomed 😊

 

Categories:
I have the same question (0)
  • turnerj3 Profile Picture
    2,039 on at

    @shelleyb ,

    This is what I have done to make it work.

    I made a collection based on checked gallery items.

    Then patched to my list (Photos) based on ID

    I patched a title because it is required and passed Complete to the Status column. If you have an input for status you can use that as well or a Checkbox.value

    Change Photos to your list and the details between the { } to your info.

     

    ClearCollect(colGallerySelects,Filter(Gallery3.AllItems,Checkbox1.Value=true));
    ForAll(colGallerySelects, Patch(Photos,LookUp(Photos,ID=colGallerySelects[@ID]),{Title:TextInput4.Text,Status:"Complete"}))

  • shelleyb Profile Picture
    193 on at

    Thanks @turnerj3 just what I need 😊

     

    I'm getting 2 error messages (see below) unsure how to amend so its reads the record as text

     

    shelleyb_1-1686814403145.png

    shelleyb_2-1686814543008.png

     

    Error seems to be because the Sharepoint column is a choice column tried changing to TEXT but it generated more errors on the rest of the app 😑

  • turnerj3 Profile Picture
    2,039 on at

    What type of column is Status?

    My bad didn’t see last paragraph. Are you using a drop-down to select the choice?

  • Verified answer
    turnerj3 Profile Picture
    2,039 on at

    Try this for the Status:

     

    Status: {Value: "YourValue"}

     

    If you were using a drop-down tied to the choices column you would use:

    Status: dropdown.Selected 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard