Notifications
Announcements
I'm about to go crazy. I have a gallery named "Gallery" with a button that has the code: Select(Parent). When I submit a form, I want to clear the Gallery.Selected value. How can I do this?
Works like a charm. I tried the Reset earlier, but I guess I had to add the {} as the default. Thanks for the help.
@PowerAddict
Good call on that one. I was browsing the official docs for info and noticed the Reset property was missing. Very nice that you knew about this when its not even documented 😀
Thanks a lot !!! If it worked great for me, I avoid a lot of problems from several months ago🤣
Well noted pwrappr01!
Just to be more clear if someone searches for it...
if you just Reset(Gallery) it returns to the Gallery default item, that is the first-row record by definition.
If the desired result is a non-Selected item you should go to the Gallery properties and change the Default parameter to {}.
This works well. I have two galleries and wanted to reset the one if I clicked an item in the other and vise versa. I had to use the Reset(gallery1) for the onselect of the item in gallery2 and Reset(gallery2) for the onselect of the item in gallery1. This works with the {} combination on the default property. Works well and exactly what I needed.
Very helpful and clear.
Glad I could help! Good luck with the rest of the app! Feel free to reach out in case of any questions!
Thanks!
Hardit Bhatia
Microsoft Business Applications MVP
Microsoft Certified Trainer MCT
Blog | Twitter | LinkedIn | Facebook | YouTube | Email
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268