Knowledge Base

How to delete target item if the source item is deleted?

With BoostSolutions’ List Sync, you can sync items from one SharePoint list to another, even better, any creation, modification and deletion will be synced in real time.

In this article, we will demonstrate how to delete target item if the source item doesn’t match condition.

WHAT YOU'LL GET

After select this option, the item in All Tasks will be deleted if the item is deleted in BPU Tasks list.

WHAT YOU'LL NEED

The sample data we use for this case

There is a SharePoint list named as All Tasks with following events on another SharePoint site.

Delete target item if the source item is deleted

  1. Download the trial version of List Sync and install it to your SharePoint server.

  2. Navigate to the site where All Tasks list locates.

  3. In the top right corner, click Settings and then click Site Settings.

  4. On Site Settings page, click List Sync Settings under BoostSolutions Software section.

  5. On the List Sync Main Settings page, click Add new profile to create a new profile, specify a unique name for it.

  6. In the Source Site and List section, select site BoostSolutions and BPU Tasks.

  7. In the Target Site and List section, select site BoostSolutions and All Tasks.

  8. In the Column Mapping section, select these columns in source list and map them to the target list as following.

  9. In the Other section, select the checkbox next to Delete target item if the source item has been deleted option.

  10. Keep other settings as default and click OK to save the settings for the profile.

  11. Then there is a profile created in the List Sync Main Settings page, click Sync Now for this profile.

  12. Wait for a few seconds for synchronization complete. Navigate to the All Tasks list and you will find that all tasks are synced to this list as following.

  13. In BPU Tasks list, select BPU Module 5 and delete it.

  14. Then navigate to the All Tasks list and you will find that the item BPU Module 5 has been deleted in this list.

Login