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

Update CDS with Collection?

Hi all,

 

I have a current situation where I am creating entries in a cds table using a collection.

The collection is tied to a gallery, and then the save button saves it to the entity.

But my issue is that I need to be able to remove items in the gallery and have it update in the cds as well.

I am able to update the collection, but when I save it, it just adds more records on top of the ones that I wanted to delete.

Is there a way to do this effectively? I would need to update not all the records, just ones with a specific lookup id that is associated with a larger entity. 

 

Thanks!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Frequent Visitor

I found a solution. I just added a RemoveIf function before the Patch. Not sure why I didnt think of this before posting.

View solution in original post

1 REPLY 1
Frequent Visitor

I found a solution. I just added a RemoveIf function before the Patch. Not sure why I didnt think of this before posting.

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (76,709)