Announcements
I have a gallery with check boxes. When the user clicks on the check box, that value is stored in a variable called "SelectedTeam" (I put it in a label under the "Send" button for reference); the issue is that it will store only the last one selected; I want to store all the marked items in the "SelectedTeam" variable, because when the "Send" button is pressed, I am passing that variable to a PUT request that associates those users with a number. See attached.
@Power_User21
Skip the variable - you don't need it!
In your send OnSelect action, determine what is checked in the Gallery:
This formula:
Filter(yourGallery.AllItems, yourCheckbox.Value)
Will return a table of all the items checked in your gallery.
From that you can apply any other actions you want.
I hope this is helpful for you.
But I need to store those values in a variable, because I need to pass that variable to the API (A Put Request). How do I store all the checked items in a variable?
Nevermind. I just used Set. Thank you
Yes, you need not even do that. There is no variable needed. You hadn't supplied any info for the API call you are trying to make, so the general idea is (assuming an email address from your Gallery):
yourApi.Run( Concat(Filter(yourGallery.AllItems, yourCheckbox.Value), email & ";") )
This would provide a semicolon separated parameter of emails to the call.
Fantastic! That's exactly what I wanted. It's working perfectly. Thank you a lot.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 345 Super User 2026 Season 2
M Bilal Khan 312
Mohsin Ali 252