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 SharePoint ...
Power Apps
Suggested Answer

Refreshing SharePoint Lists Fail

(1) ShareShare
ReportReport
Posted on by 4
Good day everyone.
 
Novice on PowerApps Canvas.  Using Sharepoint Lists and need them to refresh if I enter new data into the Lists.  I have a job entry page with the pulldowns using choice to get the data from the Lists.  I go to another screen to add data to List and navigate back to the page.  I have put in the submit button Patch to refresh the list and that does not refresh the data.  I have added a button to my job Entry page to manually refresh the Lists and that doesnt seem to do it.  Is my initial set up of the pull down menus wrong or why wont it refresh the data at all?
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,258 Super User 2026 Season 1 on at
     
    I am not sure are you looking for this Refresh(DataSource) - Refresh function
     
    If you still have any queries or clarification please provide screenshot or issue in detail.
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
  • Suggested answer
    Kalathiya Profile Picture
    2,343 Super User 2026 Season 1 on at
    Hello @BL-08061310-0
     
    Above answer is correct only but please make one additional change that sort the records in descending order so that the latest record appears at the top.
     
    Gallery items property:
    SortByColumns('YourListName',"Created",SortOrder.Descending)
    
    //YourListName - Replace with your list name
    ---------------------------------------------------------------------------
    Glad it helped 🙂
    If this fixed your issue,
    please click “Does this answer your question?” to mark it as verified so others can find the solution easily.
    A Like 👍 is always appreciated, and I’m around if you need more help @Kalathiya
  • BL-08061310-0 Profile Picture
    4 on at
    Here is a video and you can see what I am doing. Sorry it is kinda small, had to reduce to be under the 10mb.
     
    Blake
  • WarrenBelz Profile Picture
    155,565 Most Valuable Professional on at
    Adding to the current responses, it appears that the issue may be your Form not refreshing (not a Gallery), so what is the Item of the Form ? It will not refresh if it is a Variable unless the Variable is reset. So (for example) if you use on the Gallery OnSelect
    Set(
       gblRecord,
       ThisItem
    )
    and the Item of the Form is
    LookUp(
       SPLIstName,
       ID = gblRecord.ID
    )
    anything connected directly to the List will refresh automatically without the need for a Refresh command.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  
     
  • BL-08061310-0 Profile Picture
    4 on at
    Thank you.. going to try this... but, novice question...
       ID = gblRecord.ID
    
    Which value am i using for this?
  • WarrenBelz Profile Picture
    155,565 Most Valuable Professional on at
    If you look at the first bit of code I posted which you can use OnSelect of the Gallery you are selecting the record from
    Set(
       gblRecord,
       ThisItem
    )
    you are setting a Global Record Variable (I have called it gblRecord, but you can call it whatever you want to), which contains all the fields in the record including the unique ID identifier.  You can then directly link the Item of the Form to the SP list with the LookUp
    LookUp(
       SPLIstName,
       ID = gblRecord.ID
    )
    and Power Apps will automatically refresh the form (requery the SP list) after the form is submitted providing you change the mode of the Form (to View Mode as an example) or use ResetForm on it.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  

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 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard