Notifications
Announcements
Hi All,
I would like to ask for help how to patch the checkbox values in a Gallery to a SharePoint with a YES/NO data type column.
Hi @JanCarla ,
You simply patch the Value of the checkbox
Patch( ListName, LookUp( . . . . .), {YesNoColumnName: CheckboxName.Value} )
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.
Visit my blog Practical Power Apps
Is your answer applicable to checkboxes inside a gallery? If yes, could you please elaborate how. Thank you.
@JanCarla ,
Yes as long as you patching the current record from inside the gallery.
But all checkboxes return true in my SPO List although I did not check them all.
@JanCarla ,If you patch the checkbox Value, it will patch false if the box is unchecked - you did not mention multiple boxes - what is the code you are using (in Text please)
Sorry, but I am still new to power apps. I don't know where to start when patching multiple checkboxes in a gallery. Would you be kind to share how to do it?
OK - it is better to patch them one at a time, but you would use something like (for updating existing records)
Patch( SPListName, ForAll( GalleryName.AllItems As aPAtch, { ID: aPatch.ID, YesNoField: aPatch.CheckboxName.Value } ) )
For new records, just leave out the ID line.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268