web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to refresh the col...
Power Apps
Answered

How to refresh the collecting after saving new recoords

(0) ShareShare
ReportReport
Posted on by 2

I am working Teams power app.

 

I have made a collection based on the table "TableA"

In the screen the gallery is based on the collection and from the same screen when I save the data to the table, the new data does not show in the gallery, It only show when I come of the app and then open again.

 

Is it possible to refresh the collection once my data is saved via patch function.

 

Pls. guide.

 

Categories:
I have the same question (0)
  • nwelflores Profile Picture
    54 on at

    You can use a ClearCollect function after the Patch statement, to get the data when it is saved successfully.

  • MIA27 Profile Picture
    2 on at

    You mean I should repeat the complete of ClearCollect which is on the screen visible property

  • Verified answer
    realwillwright Profile Picture
    772 Moderator on at

    @MIA27 

     

    Yes, or you could patch to the collection as well as the data source
    -------------------------------------------------------------------

    If my reply helped you, please give a 👍
    If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it.

  • Verified answer
    nwelflores Profile Picture
    54 on at

    Yes, that's right. Patch updates your original source, but it does not update the Collection that was declared previously. Unless you declare it again.

     

    A screen's OnVisible property triggers again only when you move away from that screen, and back to it.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 445

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 321 Super User 2025 Season 2

Last 30 days Overall leaderboard