سؤال

I have requirement to get all the list of event receiver names(Not Default) in a share point 2013 site which are custom.

Kindly guide me on identifying the custom receivers only.

Thanks in advance! Kailash

هل كانت مفيدة؟

المحلول

Iterate the event receivers using Get-PnPEventReceiver and look at the ReceiverAssembly property. The ones that start with "Microsoft" are OOB. The ones that are blank, like in the below screen shot, are remote event receivers. Your custom server-side event receivers will have the name of the assembly they were created under.

Get-PnPEventReceiver -List $listName | ft ReceiverName,ReceiverAssembly

https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpeventreceiver

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top