Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top