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

Community site session details

Session Id : 7Pi9dWxGineStueGWlwIsH
Power Apps - Building Power Apps
Answered

Refreshing the collection automatically

Like (0) ShareShare
ReportReport
Posted on 14 Jul 2020 11:53:25 by 265

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!

  • JuliosJamby Profile Picture
    54 on 20 Oct 2021 at 05:55:29
    Re: Refreshing the collection automatically

    @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? 

     

  • Verified answer
    eka24 Profile Picture
    20,921 on 14 Jul 2020 at 12:17:11
    Re: Refreshing the collection automatically

    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.

  • FernandoTC Profile Picture
    222 on 14 Jul 2020 at 11:54:43
    Re: Refreshing the collection automatically

    Hi @Marlin-A 


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

    Hope it helps you

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2