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 / 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,508 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

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 840 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard