Hi,
I'm curious to know whether I can update / patch the "Title" fields of all the items / rows being displayed in a filtered gallery connected to a SharePoint list?
The idea is so that all Title fields read the same after a toggle button is selected. I've had a look but can't seem to get this one right:
Patch('SharePoint List',Gallery.AllItems.Title,TextInput1.Text)
Hopefully this is pretty straight forward.
Thanks for your help
Solved! Go to Solution.
Hi @MiniMe_83 ,
Try this
ForAll(
Gallery.AllItems As aPatch,
Patch(
'SharePoint List',
{ID:aPatch.ID},
{Title:TextInput1.Text}
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @MiniMe_83 ,
Try this
ForAll(
Gallery.AllItems As aPatch,
Patch(
'SharePoint List',
{ID:aPatch.ID},
{Title:TextInput1.Text}
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
If we are talking about a large amount of data (many rows in Gallery), try this approach:
Patch(YourSharePointList,
ForAll(Gallery.AllItems,{ID:ID,Title:TextInput1.Text})
)
Hope it helps !
User | Count |
---|---|
252 | |
104 | |
94 | |
50 | |
39 |