Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Refresh SP list not getting all items



I have a SP list of about 1000 items, and a button in my powerapp which sets the first item which isn't reserved to reserved , collects it to a local collection and then does a refresh of that list.
It works flawlessly the first time i press the button, the next time it will generate a miss-match error and I can see that the ID of the item its trying to patch is the same as the first, even thought its set to reserved.

If I add refresh in the beginning of the code and in the end of the code it will work. However it will extend the time by at least 10 seconds until its done.

Any advice is appreciated! 


Set(IDLookUp,First(Filter(Lager, ThisItem.Title = 'Title (Title0)'.Value, Reserverad.Value = "Nej")));

Patch(Lager, IDLookUp , {

Id:Value(IDLookUp.ID) ,


Collect(Kundvagn, {
Produkt_Collection: ThisItem.Title,
ImageData: First(ThisItem.'{Attachments}').Value, 
Pris_Collection: ThisItem.Pris, 
ID_Temp: IDLookUp.ID ,
Thisitem_From_Lager_To_Delete: IDLookUp });

Set(IDLookUp, Blank());



Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,896)