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 / Filtered Gallery and E...
Power Apps
Unanswered

Filtered Gallery and Editing the Selected Record

(0) ShareShare
ReportReport
Posted on by 147

Good morning

I have a gallery control that is filtering records from a SP list based on a status value and I have the following set on the items value:
Filter('Requests-June23', Progress.Value ="In Progress")

This works fine and I now wish to add functionality to edit the record that is being displayed and the user selects. I tried utilising my existing functionality by adding an edit icon and adding the below  (that allows me to edit a selection on an another screen thus 😞
OnSelect - ResetForm(NewRequestForm);EditForm(NewRequestForm);Navigate(NewRequestScreen)

However when I use this and run the app the above returns the first record from my SP list and not the record that I selected. Could someone point where I am going wrong please

Thanks

J

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @JasonM73 

     

    In your form.Item your need to the code to the selected item:

    RecordsGallery1.Selected

     

    Then the form knows which Item should be edited. 


    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • JasonM73 Profile Picture
    147 on at

    Thanks for the reply but I am using a gallery so a bit confused on where to add the form.item you mention? The gallery items is already set to the filter I mentioned.

  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @JasonM73 

     

    You need to set it on NewRequestForm.Item

    There is a form mentioned in your post:

    ResetForm(NewRequestForm);
    EditForm(NewRequestForm);
    Navigate(NewRequestScreen)

     

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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