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 / How to check a checkbo...
Power Apps
Unanswered

How to check a checkbox with barcode scanner and simple selection

(0) ShareShare
ReportReport
Posted on by 211

Hi all,

I have a gallery connected to a collection, in all rows I have a checkbox. I want select some rows with checkbox and then I want click a button to change a field in my sharepointList. I have a button too where can I scan a bar code with this code in OnScan property

Collect(
 colScannedItems;
 {ScannedItemNumber: BarcodeScanner.Value}
)

 if the barcode scan a number that is in the gallery, the specific checkbox in that row will be flag, on default property I have 

ThisItem.Number in colScannedItems.ScannedItemNumber 

 in the default property in the checkbox I have

ThisItem.Number in colScannedItems.ScannedItemNumber || ThisItem.Selected

 and in the the update button I have in onSelect

With({selectedItems:Filter(Gallery3.AllItems;Selected)};
 Patch(Sim_Dettaglio;
 ShowColumns(selectedItems;"ID");
 ForAll(selectedItems;{ Request: Gallery2_1.Selected.Title})
 )
);;
ClearCollect(collection; AddColumns(detail; "Selected"; false))

 

so I have some problem in default property in the checkbox, if I use bar code or simple select it work good but if I want to use between it don't work.

 

Do you have any idea?

Thank you so much

Categories:
I have the same question (0)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard