cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Marlin-A
Helper IV
Helper IV

Refreshing the collection automatically

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!

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2
FernandoTC
Resolver II
Resolver II

Hi @Marlin-A 


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

Hope it helps you

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.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,799)