Skip to main content
10 votes
Accepted

SP2013 Event Receiver action open page library\list

As a short answer, There is no Event Receiver type that will trigger when opening a Library/ List Page!!! The Event receiver should be used to trigger a specific action before or after a specific ...
Mohamed El-Qassas MVP's user avatar
3 votes
Accepted

Does my ItemUpdated event receiver execute Synchronous OR Asynchronous if i did not define a <Synchronization> inside the element.xml

Events ending by –ing are synchronous events (before): ItemAdding, ItemUpdating, ItemDeleting. Event handlers defined for these events are executed before the operation is executed on the content ...
Cecilia's user avatar
  • 984
2 votes

List event receivers not triggered after quick editing/grid editing

I noticed that in SP2013 the gridview/datasheet editing is only triggering the async events (like ItemUpdated). The AfterProperties contains only fields that were changed. When using the default ...
Koen van der Linden's user avatar
2 votes
Accepted

Where to add an event listener when using SPFx and React

You don't really add it inside a lifecycle function, you just add a reference to your handler function in the onClick property of your element. Which I guess technically is "inside" the render ...
Dylan Cristy's user avatar
  • 12.7k
2 votes
Accepted

Pause Event Handler Using Powershell

From your question is not clear why you want to "pause" the event receiver, but I will assume you are creating/editing list items from PowerShell. In this case it is possible to prevent event firing: ...
Denis Molodtsov's user avatar
2 votes
Accepted

base class for event receivers in sharepoint 2010 & 2013

Yes it's same. SharePoint 2010 Base class URL : https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceiverbase(v=office.14).aspx SharePoint 2013 Base class URL : https://msdn....
Samir Khimani's user avatar
1 vote

Allowing users to edit and move documents, but not delete them

You don't have to write code to achieve this, just custom the permisson level in https://tenant.sharepoint.com/sites/yoursite/_layouts/15/user.aspx to achieve this. In the custom permissin level, ...
Michael Han's user avatar
  • 5,201
1 vote
Accepted

SharePoint Webhooks : Get the ID of the newly created folder using ChangeQuery

This works for me: try { log.Info("Executing function"); using (var ctx = await csomHelper.GetClientContext("ur url to a site")) { ListCollection list = ctx.Web.Lists; List ...
Keshav Taurah's user avatar
1 vote

SharePoint Webhooks : Get the ID of the newly created folder using ChangeQuery

I have created a step by step article in TechNet that simulates SharePoint Webhooks as Event Receivers for SharePoint Online List. You can find the implementation under the heading SharePoint Webhooks ...
Priyaranjan KS's user avatar
1 vote

Does my ItemUpdated event receiver execute Synchronous OR Asynchronous if i did not define a <Synchronization> inside the element.xml

John, After events default to asynchronous mode. See here: SPEventReceiverDefinition.Synchronization property SharePoint event receivers: Making Asynchronous event Synchronous to avoid save ...
jpollar's user avatar
  • 1,107
1 vote

Deploying EventReceiver project with target of WebApplication from VS fails when activating features

This guy's blog post suggests killing vssphost. This wasn't enough on its own, however it was the missing link in my overall process. I wrote this automated script to reset the entire environment in ...
Jim Yarbro's user avatar
1 vote

Deploying EventReceiver project with target of WebApplication from VS fails when activating features

I had the same issue. I have removed "Feature" files from Feature folder in the solution, and deployed via VS. Again redeployed "with" feature files via VS. It worked.
Rajani Kasaram's user avatar
1 vote

How to get current logged user in event receivers?

You can use this code. using (SPSite originalsite = new SPSite(properties.SiteId, properties.OriginatingUserToken)) { //To get the current user using (SPWeb web = originalsite.OpenWeb()) { ...
Swapnil Phatale's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible