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 / Not working collection...
Power Apps
Unanswered

Not working collection in Checkbox inside gallery , Canvas App

(0) ShareShare
ReportReport
Posted on by 42

Hello,

I want to get a collection when I check on the checkbox inside the gallery. My collection code inside on Check is 
Collect(test,{gresult:ThisItem})
Items of Gallery is 
["aa","bb","cc"]
Then, when I checked on one of the checkboxes, I can't get data in the collection.
1. I make this gallery inside in Edit Form and then Data Card.

hninyuaung_0-1686285054412.png

Please help me with how to solve it.
Thanks 

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Change that to

    Collect(test,{gresult:ThisItem.Value})

     

  • hninyuaung Profile Picture
    42 on at

    Thanks. I changed it but it can't collect data in the collection.

    hninyuaung_1-1686289180719.png

    I would like to get the data that is checked on the checkbox using the collection. Now it is not working and if there is another way to get checkbox data, please help me.

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

     

    Change ClearCollect to Collect

  • hninyuaung Profile Picture
    42 on at

    Yes, Already changed it to Collect. But it is not working. if there is another way to get checkbox data, please help me.

  • ramzez Profile Picture
    312 on at

    The gallery OnSelect doesn't seem to be working inside a form at the moment.

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Gallery-OnSelect-stopped-working-inside-a-form/m-p/2190088#M548461

     

  • hninyuaung Profile Picture
    42 on at

    Yes, Currently my problem is when I checked the checkbox inside the gallery, data can't collect in Collection.  What is wrong with my code or how to solve it? May I know if there has another way to collect data?

  • YenTing Profile Picture
    4 on at

    I'm now facing the same issue too.

    In the preview mode, my app cannot collect the value of the checkbox built in the gallery to the collection, while the published app work normally.

    It seems like a recent bug, I'm currently trying to contact Microsoft for assistance.

  • hninyuaung Profile Picture
    42 on at

    Yes, thanks. Your preview mode is not working collection and in the published app, is it working?  
    If you got the solution, may I know this? 

    thanks 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Some of my old apps have lost connection to gallary even though they were still working before. Specifically, the actions inside the gallery are in the datacard . Can someone explain to me the above problem?

  • hninyuaung Profile Picture
    42 on at

    Yes, Until last Monday, it is working in the gallery in DataCard. Today, I tested it in Preview. It is not working.
    1. Create a collection in the checkbox inside the gallery in the DataCard of Edit Form. That collection can't work.
    2. If put this gallery outside DataCard, that collection can work. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard