cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DonutsSauvage
Level: Powered On

Refresh isn't working properly on Sharepoint list

Here's the situation:
I have a Sharepoint list Table_A with several columns, I'm displaying it through PowerApps via a Data Table.
The Item property of said Data Table is as follow:

SortByColumns(Search(Table_A;Input_Search.Text;"Column1";"Column2";"Column3";"Column4";"Column5");"Column1")

The Filtering works fine with this formula, but for a reason I can't explain the Refresh() function isn't working properly. By this I mean that my actual list updates with elements or some disappear, but the Data Table isn't getting up to date one bit. Setting the Item property to simply Table_A does work in getting the table to update.
Thus my guess is that my formula is preventing the Table from updating, but I can't figure out why.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Refresh isn't working properly on Sharepoint list

Hi @DonutsSauvage ,

Could you describe more clearly about how do you refresh the data source?

I've made a similar test but not met the same problem like your description.

Here's my test for your reference:

1)Set the gallery's Items: listname

Set the button's OnSelect: Refresh(listname)

 

Firstly,I update data in sharepointlist. Secondly I click the button, then data in gallery will refresh.

 

2)Set the gallery's Items: SortByColumns(Search(listname,TextInput1.Text,"Title"),"Title")

Set the button's OnSelect: Refresh(listname)

 

Firstly,I update data in sharepointlist. Secondly I click the button, then data in gallery will refresh.

 

Both of them all works for refresh function.8132.PNG

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 REPLIES 3
Community Support Team
Community Support Team

Re: Refresh isn't working properly on Sharepoint list

Hi @DonutsSauvage ,

Could you describe more clearly about how do you refresh the data source?

I've made a similar test but not met the same problem like your description.

Here's my test for your reference:

1)Set the gallery's Items: listname

Set the button's OnSelect: Refresh(listname)

 

Firstly,I update data in sharepointlist. Secondly I click the button, then data in gallery will refresh.

 

2)Set the gallery's Items: SortByColumns(Search(listname,TextInput1.Text,"Title"),"Title")

Set the button's OnSelect: Refresh(listname)

 

Firstly,I update data in sharepointlist. Secondly I click the button, then data in gallery will refresh.

 

Both of them all works for refresh function.8132.PNG

 

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DonutsSauvage
Level: Powered On

Re: Refresh isn't working properly on Sharepoint list

I'm doing the same as you, but using a Data Table instead of a gallery, I don't really know what else to say. I tried deleting the old one and using a freshly created Data Table where I only set the Item property and it still isn't working

Highlighted
DonutsSauvage
Level: Powered On

Re: Refresh isn't working properly on Sharepoint list

The problem comes from deleting a component in the list, when adding them it works fine

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 121 members 4,350 guests
Please welcome our newest community members: