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:
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!
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.
Thank you all for your suggestions! Unfortunately, this seems be something that is not fixable with Power Apps. I appreciate all the help though!
Fingers cross You manage. When I get 10 minutes, I will re-create your scenario and see if I will get similar problem.
Regards
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.
Did you use Shane Young video to create that control by any chance?
If no try it
Check both Videos created by Shane
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
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
This one is set in the "Items" property of the nested gallery to filter the events of the calendar
and this one is set in the "OnVisible" property of the calendar screen
And this is how my calendar is set up
I'm not sure if that helps but here is example, I have calendar control like this
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
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.
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
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.
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional