I have two EventHandlers - A and B.
EventHandler A populates items in Child list, when Parent list creates a new item. Or vise versa, deletes items in Child list when Parent list deletes an item. There is a ParentID in Child list to refer back to ID column in Parent list.
EventHandler B duplicates items from Site 1 to Site 2. i.e. creates a new item in Child list of Site 2, when Site 1 creates a new item in Child list. Or vise versa, deletes item in Child list in Site 2 when Site 1 deletes an item in Child list. The two Child
lists are almost identical except Site 2 Child list has SourceID pointing back to ID column in Site 1 Child list ID field.
Site 1 Site 2
| EventHandler A
Child --- EventHandler B ---> Child
Now if I create/delete item in Parent list of Site 1, Child list of Site 2 will be affected, thanks to EventHandler A and B. Here A triggers B.
If I create/delete item in Child list of Site 1, Child list of Site 2 will be affected as well, here only EventHandler B is triggered.
My question is: Is there anyway to tell in EventHandler B, that it is triggered originally from Parent lis
View Complete Post