Announcements
Hi! I am trying to update a sharepoint list that has several lines for the same title, but it only updates the first one. I have also managed to update everything, but in this case if there are several lines it takes several minutes to complete. How can I do in less time?
Please paste your code in here and we can have a look how to improve your speed. _____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
Sorry!here is the code
ClearCollect('LISTADO5',Filter('LISTADO',Title = SelectFile)); ForAll('LISTADO5',UpdateIf('LISTADO',Title=SelectFile,{RAZON:DROPRAZON.Selected.Title, COMENTARIO:TEXTCOMMENT.Text}))
this work, but takes long time
I would simplify your code to:
Patch('LISTADO', ForAll( Filter('LISTADO',Title = SelectFile), { ID:ID, RAZON:DROPRAZON.Selected.Title, COMENTARIO:TEXTCOMMENT.Text } ) )
UpdateIf would cost you a bit of performance. Using ForAll correctly will reduce the wait time._____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
Thank you very much! Now is super fast!!!
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 396 Super User 2026 Season 2
Mohsin Ali 323
WarrenBelz 193 Most Valuable Professional