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 ...
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 ...
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 ...
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 ...
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:
...
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....
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, ...
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 ...
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 ...
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 ...
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 ...
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.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
event-handlers × 280event-receivers × 60
development × 35
document-library × 34
2007 × 34
2010 × 29
list × 22
workflow × 16
sharepoint-enterprise × 12
sharepoint-foundation × 12
events × 12
content-type × 11
permissions × 9
splistitem × 9
2013 × 8
web-part × 8
visual-studio × 8
feature × 8
sharepoint-online × 7
javascript × 7
feature-activation × 7
sharepoint-server × 6
document × 6
alert × 6
error × 5