SharePoint Sandbox solution on subsite
-
17-12-2020 - |
Domanda
I try add sandbox solution to SharePoint 2013 on subsite with event reciver on list, and don't work ;(
On Root Web is O.K. event fired and do something what I wont, but when I activate feature on subsite then list was created but event don't working.
Does anyone know why? I don't have access to Farm server, so I can't doing something on web.config or Central Administration.
Soluzione
You can try couple of steps to see event receiver is attached to a list
Check your scope.
Run powershell to see list of event receivers on SP List.
$web=Get-SPWeb ">" $list = $web.Lists["list name"] $receivers=$list.EventReceivers
you can refer link http://nikcharlebois.com/retrieving-a-list-of-event-receivers-using-powershell/
- Or Use SPO browser tool to see event receivers from GUI you can download tool from here https://spcb.codeplex.com/
Altri suggerimenti
Be sure that your feature has the correct scope site or web. This will determine when the EventReceiver fires.