Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

All the Event receivers getting fired in SharePoint 2010 Event receiver Solution

$
0
0

Hi friend.

I have two event receivers. both are deployed as Farm Solution with Site as scope.

ER1=> This event receiver is attached to Form Library and I have changed it's URL in Element.xml ListUrl as Listurl="TimeLog/Forms"

ER2=> This event receiver is attached to Custom list and I have changed its Url in Element.xml as ListUrl="Lists/MyList"

Both the Event receiver have ItemUpdated Event

Here TimeLog is name of Form Library where I log time and MyList is name of custom list.

Event Receivers are deployed to my Root site but I have page to redirect to other site collection which are under root site which contains my list and library. (Note: I dont have any list and library on my root site)

Http://myportal/

and I have other site collections

http://myportal/sites/A

http://myportal/Sites/B and so on..

When I activate both the Event Receiver feature in SiteCollection "A" and updates some value in myList both the event receiver get fired and logs are generate.

Can some one help me out to get only relevant event receiver get fired.  

Thanks & Regards

Gireesh Painuly



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>