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 Checkbox Selecte...
Power Apps
Unanswered

Patch Checkbox Selected Items in PowerApps Gallery to SP List

(0) ShareShare
ReportReport
Posted on by 165

Hi, 

 

I have 

  1. SP List A - where PowerApps will collect the data at first step.
  2. PowerApps Gallery - to display data of SP List A.
  3. SP List B - to take data (checkbox selected) from the PowerApps Gallery

 

So that's the process of my PowerApps. (Data 1 -> to number 2 -> Data selected in 2 submit to 3)

NurSabrina24_0-1656644523960.png

OnSelect for Presence button : 

 

Patch('SEMINDA Student Attendance Checklist',ForAll(colAttendees As aPatch, {'Student Name': aPatch.'Display name', 'Class Name': aPatch.'Class Name'})); Navigate('Teacher Dashboard', CoverRight);

 

 

But the problem is once I clicked 'Presence' button, it did submit to the SP List B but with so many and duplicate data instead of the data I selected from the PowerApps Gallery. 

 

Please help me. If there's something missing that is confusing you can ask me to share on it. 

 

Thank you. 

Categories:
I have the same question (0)
  • MVP-Phipps Profile Picture
    3,514 Super User 2024 Season 1 on at

    I would check how colAttendees collection is being populated. You may have more items in the collection than planned. Please can you show us where the collection code is and what is in the collection?

  • NurSabrina24 Profile Picture
    165 on at

    Hi, 

     

    so for the colAttendees I put it in the Checkbox with following code: 

     OnCheck : Collect(colAttendees, ThisItem)
    OnUncheck : Remove(colAttendees, ThisItem)

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard