cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LavdimA
Frequent Visitor

PowerApps latest version 3.19033.13 - causing issues

Seems that the latest version (3.19033.13) of PowerApps is causing issues when patching exisisting items.

It's not able to update an exisit item wether you use 

ForAll(DepCollection;Patch(TestDep;First(Filter(TestDep;ID=DepID));{Title:"New Title"}))

or

 

ForAll(DepCollection;Patch(TestDep;LookUp(TestDep;ID=DepID);{Title:"New Title"}))

 Nothing happens when running those actions. 

2 REPLIES 2
v-yuxima-msft
Community Support
Community Support

Hi @LavdimA ,

 

Could you please firstly check whether your DepID in your collection is Number Value?

20190401updatecollection1.PNG

Then could you please try the following fomula?

ForAll(DepCollection,Patch(TestDep,First(Filter(TestDep,ID=DepID)),{Title:"New Title"}))

 

Hope this could be helpful.

 

Best Regards.

Yumia 

Hi @v-yuxima-msft , thank you for responding!

 

It's working fine now Smiley Very Happy

 

Yes, the DepID is a number value. I was also getting the delegation warning with the exact same code on Friday, but I'm not experiencing the same now. 

 

Apperantly the Patch function now only updates exisiting rows if there are new values. I could be wrong, but my impression is that the Patch function allways updated all rows before -  unconditional if new values or not.

(not that I'm complaining - this is way better  Smiley LOL )

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,441)