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!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us on June 28 for our monthly User Group leader call!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.