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 / Update/Patch on Form c...
Power Apps
Unanswered

Update/Patch on Form causes refresh

(1) ShareShare
ReportReport
Posted on by 2

Hi,

We have a main screen where we list out all of our internal requests using a gallery where the data is a Sharepoint list. We have a created an icon where the user can edit an existing request which brings up a detail screen. On that screen we have built a gallery of time slots where the user can select an available slot to review their request. When the user clicks on the button it calls a Patch function which updates a row and field in the Sharepoint list to set the available slot. This works fine.

Here is where we are seeing a strange side effect. On the main screen we have provided buttons to filter the main list by different categories. When we have a filter on the list and navigate to the detail screen and when we click on a timeslot we find that the correct row and field gets updated. However, the entire record on the detail screen refreshes and we see the first record in the list from the previous main screen. It’s like the list.Selected has been reset to the first item in the list. It definitely has something to do with the filter function. Is there a way to preserve the list.Selected or prevent a refresh after the update occurs from the result of updating the time slot on the detail screen ?

Thanks,
DevOps

Categories:
  • rebeccas Profile Picture
    2,591 on at

    Might be more to it but first I would just try setting the Gallery - Reset  to False if it isn't already.

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
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard