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

SharePoint 2013 CAML for Content Type Event Receiver

$
0
0

Have anyone tried to create event receivers for Content Type in CAML? I couldn't make it working for SharePoint 2013 though it's working in SharePoint 2010.  After deploying, I've just found the event receivers are not attached to the content type. I'm using the following CAML:

<XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/events"><spe:Receivers xmlns:spe="http://schemas.microsoft.com/sharepoint/events"><Receiver><Name>RatingSummaryEventHandler</Name><Type>ItemAdded</Type><SequenceNumber>10000</SequenceNumber><Assembly>SPointTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3fad8d0486060209</Assembly><Class>SPointTest.CTReceiver</Class><Data></Data><Filter></Filter></Receiver><Receiver><Name>RatingSummaryEventHandler</Name><Type>ItemUpdated</Type><SequenceNumber>10000</SequenceNumber><Assembly>SPointTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3fad8d0486060209</Assembly><Class>SPointTest.CTReceiver</Class><Data></Data><Filter></Filter></Receiver></spe:Receivers></XmlDocument></XmlDocuments>
Something changed in 2013 related to this?


Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com





Viewing all articles
Browse latest Browse all 25064

Trending Articles



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