I can't figure this out.
I have a collection with a list of items the user has selected. I know how to take that list and patch it to an existing sharepoint, but how do I take the same list and remove those items from a different sharepoint list.
The formula below only lets me remove 1 item.
I know it's not going to work because it's referencing the first text box in the gallery. I can't figure out how to say ForALL or all selected items and make it work.
The sharepoint list to remove the items is called UnregisterProjectSignUpList and the collection with all the items needing to be removed is called User_UnregisterProjects_Selections
Anyone know how to make this work?
Solved! Go to Solution.
You can use RemoveIf(). The syntax would look like this:
RemoveIf(UnregisterProjectSignUpList,Title=Unregister_EventName_Txtbx.Text, Signee.DisplayName = Var_OfficeName)
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
Can you show your code used to pull in the ID and also a screenshot of what the collection looks like in the viewer? I would be curious to figure out why ID is not pulling in.
Ok it was my mistake. I had the ID pulling in the first collection, but not in the collection where I added columns
The RemoveIf worked awesome. Thank you so much!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.