tag:blogger.com,1999:blog-9049032025342264339.post7909175532986267717..comments2024-03-28T16:14:22.719+03:00Comments on sadomovalex's blog: Sharepoint bug: incorrect itemId in summary alerts with custom alert handlerAlexey Sadomovhttp://www.blogger.com/profile/18112105989691733410noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-9049032025342264339.post-784660925939235322015-09-09T10:30:26.248+03:002015-09-09T10:30:26.248+03:00Thank you so much Rémi MATAYRON your code worked f...Thank you so much Rémi MATAYRON your code worked for me<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9049032025342264339.post-5600624632041791922015-03-10T11:51:25.041+03:002015-03-10T11:51:25.041+03:00Hello,
Thanks for this post.
You can make it work...Hello,<br />Thanks for this post.<br /><br />You can make it works for all contents with the following lines of code:<br />SPList list = web.Lists[ahp.a.ListID];<br />for (int i = 0; i < ahp.eventData.Count(); i++)<br />{<br /> SPAlertEventData mydata = ahp.eventData[i];<br /> list.ParentWeb.GetListItem(mydata.itemFullUrl);<br />}Rémi MATAYRONhttps://www.blogger.com/profile/10146978268402354542noreply@blogger.com