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 / Refreshing the collect...
Power Apps
Answered

Refreshing the collection automatically

(0) ShareShare
ReportReport
Posted on by 269

Hello is there anyway that I could do to make my collection refresh automatically when I input an entry to the sharepoint list I have.

I have this clearcollect() on my sharepoint list and I've noticed that when I try to submit an entry it doesn't show up on my gallery when I try to submit an entry. It needs to refresh the browser in order to get the entry I've submitted.

Thank you!

Categories:
I have the same question (0)
  • FernandoTC Profile Picture
    222 on at

    Hi @Marlin-A 


    Just add Refresh(<yourdatasource>) at the end of your code execution.

    Hope it helps you

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    The issue is where is your Collection located?

    1. If OnVisible of the screen, ensure you navigte to a different screen and back before it will be refreshed

    2. If it located OnStart, you have to restart the App before it will be refreshed

    3. If it OnSelect of a Button, then click the button after you submit data

    4. If you are you are using a form, you can put the collection OnSuccess of the form

    5. Then you can also refresh the Datasource

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • JuliosJamby Profile Picture
    54 on at

    @eka24 I came across this forum and I chanced upon this qns. My collection is located at the Onstart because I need it to load when the user login. Additionally, I have also put a patch and clear collect code on my submit button. However, when I navigate back to the gallery, it does not show the latest items. How should I go around doing this? 

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 463

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
11manish Profile Picture

11manish 275

Last 30 days Overall leaderboard