Notifications
Announcements
I have a simple gallery. I can add items to it and update an item when it is selected.
When nothing is selected and an item is to added a simple hint text should be displayed, but when an item is selected I should see that data in the fields to be updated.
How can I do that?
Hi @StefWS
Just select the textfield and apply OnSelect property of the form below formula or as shown in image
your Galleryname.selected.AnyFieldName
You will have to set default value of input fields, for example for FirstName text input you can set default value to -> Gallery1.Selected.FirstName
Now an item is always staying selected and the fields are filled with that item. The fields are cleared (reset) after something is added or updated, but how do I clear the selection?
OnSelect property of Save button, set a variable varReset to true -> Set(varReset, true)In default property of First Name add below formula - If(varReset, "", Gallery1.Selected.FirstName)And on Gallery OnSelect property, Set varReset to false -> Set(varReset, false)
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 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268