cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dips971
New Member

How to delete a SharePoint List item when a same item is deleted from another list?

Hi, I created two lists in SharePoint List A and List B. When I create a new item in A the same item will get created in B. Also I want that if I delete an item in A then the same item will get delete in B.

I also created a ID column in List B to store the ID of List A so that I can use that to update but that is not working for Delete.

I tried a lot of methods in Flow but it is not working.

Please help me with the above query.

 

Thanks in advance

Dipak Shaw

1 REPLY 1
annajhaveri
Super User
Super User

@Dips971 i think this would be better done using Lookup column, add lookup column in the List B and it will refer to ID column of List A and while creating lookup column there is a setting Enforce Relationship Behaviour, select cascade delete, which will delete items in List B when corresponding item is deleted from list A?

annajhaveri_0-1614090304644.png

 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (83,665)