Hi,
how to view all events handlers for document library in sharepoint web application.
Thanks,
Siva.
Technology Tips and News
Hi,
how to view all events handlers for document library in sharepoint web application.
Thanks,
Siva.
Hi,
loop through your webapplication in powershell and use this code to get all event receivers for document library.
Add-PSSnapin microsoft.sharepoint.powershell $GC = Start-SPAssignment $Site = $GC | Get-SPSite http://sedwdevrtm:27829 $Web = $Site.Rootweb $Web.Lists | Where {$_.EventReceivers.Count -gt 0 -and $_.BaseBaseTemplate -eq "DocumentLibrary"} | Select Title,EventReceivers | Format-List Stop-SPAssignment $GC
Hi
For particular document library use the below script
Add-PSSnapin microsoft.sharepoint.powershell $web = get-spweb "url of the web" $documentlibrary=$web.lists["Document Library Name"] $documentlibrary.EventReceivers |select Name,assembly|Format-List