Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

My App is not updating when a new item is added in SharePoint List

(0) ShareShare
ReportReport
Posted on by 130

Hi All,

 

I am having an issue with my app gallery. When I add a new item to the SharePoint List in SharePoint, the new item is not showing in my app gallery. I have tried simply refreshing the data source. I have even tried reentering the data source and the fields to see if that will help to refresh the app. Nothing has worked and I have tried looking up a solution to this problem with no luck. My code for my gallery (which is a weekly calendar) is below and nothing fancy:

 

LS579_0-1670424498209.png

 

I do get delegation warnings with this code, but so far it has shown everything that was currently in the list, so I'm hoping this is not an effect of the delegation issue and can be fixed. 

 

Thanks in advance!

Categories:
  • Verified answer
    LS579 Profile Picture
    130 on at
    Re: My App is not updating when a new item is added in SharePoint List

    To close this thread, I ultimately reached out to my manager to see about deleting older items in the SharePoint list, so that there were less than 2000 items for Power Apps to look at. Once we deleted those older items, my calendar began showing all the newly added items, so my problem is solved. I will be also looking to create a Power Automate flow that deletes older items as new ones are added once I decide what I want that to look like.  That being said, there doesn't appear to be any work around to show greater than the 2000 items Power Apps delegates to as far as SharePoint lists go anyway.

  • LS579 Profile Picture
    130 on at
    Re: My App is not updating when a new item is added in SharePoint List

    Thank you all for your suggestions! Unfortunately, this seems be something that is not fixable with Power Apps. I appreciate all the help though!

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: My App is not updating when a new item is added in SharePoint List

    @LS579 

     

    Fingers cross You manage. When I get 10 minutes, I will re-create your scenario and see if I will get similar problem. 

     

     

    Regards

  • LS579 Profile Picture
    130 on at
    Re: My App is not updating when a new item is added in SharePoint List

    I did use Shane Young with a combination of Matthew Devaney to create this app. I will go back through the video and see if anything pops up that might help. I also just used collections and the delegation warning went away, but the new items are still not showing up, so this may be an issue that can't be solved within Power Apps. 

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: My App is not updating when a new item is added in SharePoint List

    @LS579 

     

    Did you use Shane Young video to create that control by any chance?

     

    If no try it

     

    Check both Videos created by Shane

     

    Shane Young - YouTube

    PowerApps Calendar Control - Build your own using Galleries - YouTube

     

    when You create calendar using this method you will be able easy refer inside of gallery to Value using DateAdd and use that in Filters what will eliminate delegation in future

     

    If I good remember he actually have video of Calendar what looking exactly like yours

     

    Hope this helps

     

  • LS579 Profile Picture
    130 on at
    Re: My App is not updating when a new item is added in SharePoint List

    I tried to incorporate this into my code, but it gave me a delegation error and didn't show any of my calendar items. I'm not sure if I need to change something else where in my code. The three pieces of code that are relevant to the calendar are below:

     

    This one is set in the "Items" property of the main gallery 

    LS579_0-1670944683734.png 

     

    This one is set in the "Items" property of the nested gallery to filter the events of the calendar

    LS579_1-1670944715997.png

     

    and this one is set in the "OnVisible" property of the calendar screen

    LS579_3-1670944834578.png

     

    And this is how my calendar is set up

    LS579_4-1670944928221.png

     

     

     

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: My App is not updating when a new item is added in SharePoint List

    @LS579 

     

    I'm not sure if that helps but here is example, I have calendar control like this

     

    SebS_0-1670943281206.png

     

    I use this calendar to display data in the Gallery below it what have another Gallery nested in

     

    and here is how I handle Filter in it using first label of the calendar control 

     

    SebS_1-1670943449537.png

     

    SebS_2-1670943501266.png

     

     

  • LS579 Profile Picture
    130 on at
    Re: My App is not updating when a new item is added in SharePoint List

    Thank you for your help. I will see what I can figure out. I am new to Power Apps, so it has been trial and error for me for my first app.

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: My App is not updating when a new item is added in SharePoint List

    @LS579 

     

    I may be wrong on it but cause it's kind of a table You refer to it actually class the variable as complex type and that create a delegation issue.

     

    If you will somehow use label or control what passing Text that could sort this

  • LS579 Profile Picture
    130 on at
    Re: My App is not updating when a new item is added in SharePoint List

    That is correct. It works, but Power Apps is only recognizing the first 2000 records and nothing after that, so if a new record is entered, it doesn't show up in the app.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard