Event Receivers are a piece of managed code that responds to SharePoint events when specific triggering actions occur on a SharePoint object.

learn more… | top users | synonyms

1
vote
1answer
18 views

Custom Alert does not trigger

Has anyone successfully implemented IAlertUpdateHandler on SP 2010? When I try to add a new alert on a document Library following this tutorial, everithing seems to be fine. But when I try to insert ...
1
vote
1answer
593 views

SharePoint event receiver ItemUpdating event behaves differently when a list item is updated through Workflow

I am having a SharePoint custom list which is having a designer workflow and event receiver attached to it. In the event receiver on ItemUpdating event I am having the below code to check if a ...
0
votes
0answers
13 views

Why alert Events trigger twice

I have a custom Alert dll that send custom email messages. But everytime the alert event triggers, it does twice and send two Mail message. Another strange problem is that, often the runtime jump some ...
1
vote
1answer
1k views

Event Receiver on Publishing Page Library

I created a new event receiver and hooked it onto the Pages library for my publishing site. I attached each one of the events exposed, but I cannot get any of them to fire. elements xml: ...
2
votes
2answers
18 views

Error with site collection daily resource usage quota

Recently I've added an event receiver to a sandbox feature, but since I added it, whenever I try to deploy the feature, I always get the message Error occurred in deployment step 'Add Solution': ...
0
votes
1answer
621 views

How to create SPQuery by filtering date interval

I have a custom aspx form where I retrieve list items by filtering two values EventDate and EndDate. I have a realization but it returns nothing: DateTime eventDate = ...
1
vote
1answer
615 views

SPListItem.Update() not firing ItemUpdating

I'm updating item in SPListItemCollection using SPListItem.Upadte() but my event receiver is not receiving ItemUpdating/ItemUpdated events (breakpoints are not hit on either handlers). Sample code ...
1
vote
1answer
30 views

Location for an Event Receiver on Visual Studio solution

I have a feature that deploys a site in a folder in the root of the parent site. When we want to uninstall this feature, the only way to remove the files it deploys is by programmaticaly remove them ...
0
votes
0answers
8 views

SPOnline: Sandox event receiver inconsistent behavior

I have following 3 components: Provider hosted App having full control on web and using App only permissions (App) List-A: This custom list has a sandbox event receiver on item creation. App creates ...
0
votes
0answers
10 views

List Subcription EventHandler

I'm trying to built a custom code that should run on Subscription event. As we know, When people Subscribe to a Sp List, you receive a Mail Message on your Box. I Should intercept that Event. I've ...
0
votes
0answers
21 views

incoming emails are stuck in the drop folder

I created one incoming email event receiver in SharePoint 2013 to send the emails to a list. It works fine in the development server but in the testing server it doesn't. The emails are stuck at the ...
3
votes
0answers
25 views

Workflow doesn't fire when new item is created through Event receiver

When new item is added through event receiver in a list, I have OOTB workflow on item created on that list. But unfortunately it doesn't works. Any help would be appreciated. Thanks
1
vote
1answer
17 views

Append several columns to another SharePoint list using event receiver

I am working on two SharePoint list:List 1 is overview of servers including: Server Name, Purpose, status etc.. List 2 is change log on each server, it got an lookup column that connects to Server ...
1
vote
1answer
841 views

Task List ItemAdded Receiver doesn't work for workflow created tasks

Why doesn't the ItemAdded Receiver get called when a task was created by a workflow, but when a user created a task it does? I tried setting the Receivers ListUrl to my list URL and tried using the ...
2
votes
1answer
32 views

How to disable renaming a Document Library item using “Open with Explorer”

As you can see here, rename event of list item via Windows Explorer is handler by ItemFileMoved event. So, I was trying to prevent this edit by the usual way of preventing ItemUpdating: ...
0
votes
3answers
380 views

How can I call a custom JavaScript function after a form has validated?

I have a form for submitting events to our calendar. What I want is to call a function once the form has validated. Something like this: User edits item User clicks save button Form validates ...
0
votes
1answer
714 views

WebProvisioned Event Receiver Firing Twice

I am creating sites and subsites with object model from a console app. And what i realized is, it fires twice for every newly created subsite. I checked from Sharepoint Manager if the event receiver ...
2
votes
0answers
22 views

Content Type Event Receiver in SharePoint 2013 Content Type Hub / Subscriber scenario

I have a SharePoint 2013 site with Multi Tenancy configured. I have a Managed Metadata Service also configured in Partitioned Mode since it is a multi tenant environment. I have a Visual Studio ...
0
votes
2answers
28 views

List item validation in OnItemUpdating: Save conflict

I'm developing an application with Sharepoint 2010. I've got a custom list. Every item of the list has, among others, the following fields: StartDate EndDate Status (enum with values like "In ...
0
votes
1answer
39 views

Sharepoint EventReceiver Singleton for one thread

I would like to create singleton patter in Sharepoint EventReciever. The singleton have to be unique for every run of EventReceiver (I dont want to share data between ed and ing function - this is not ...
2
votes
2answers
71 views

Custom List EventReceiver Not Working

Am trying to perform a basic insert to custom list item when an item added from sub-site source list but the insert command don't execute. Any idea? Elememnts.xml setting to hook the receiver: ...
1
vote
3answers
2k views

Accessing the Created By coloumn value in event receiver(item added) sharepoint 2010

Hi I am trying to access the created by coloumn in item added event reciever.But when i debug it shows null value...below is the code public override void ItemAdded(SPItemEventProperties properties) ...
1
vote
0answers
29 views

Event receiver on item with drag and drop

I'm writing an event receiver on a document library. My issue is event itemupdating ou itemupdated are not fire when i drag and drop a document. if i log my event it only passes in itemadding and ...
1
vote
1answer
34 views

SharePoint Event Receiver does not fire after deployment

I have created a simple SharePoint 2013 solution and added event receiver. When I am in visual studio, i hit F5, solution is deployed and event receiver works. However, when I publish the solution ...
2
votes
1answer
27 views

How can I change “AfterUrl” in an event receiver?

I have an event handler that changes the title of the file. However shortly after this event handler ends SharePoint will open the editpage for the user to edit it. However properties.AfterUrl is ...
0
votes
1answer
47 views

How to add a 3rd party library in sharepoint 2010 event receiver

I am writing a SharePoint item event receiver to OCR documents that are uploaded/added to a library to generate searchable PDF for that document. I'm using a third party library (dll) ...
0
votes
1answer
1k views

Item Adding / Item Added Event Receiver for Document Library, Change Content Type

I have an issue regarding Content Types,I want to set a particular Content Type for each document set within a library, however SharePoint 2013 defaults to the library's default CT. The issue is ...
0
votes
1answer
31 views

Attaching Event Receivers on more than one list

I have a SharePoint 2013 site with multiple lists. Many of the lists have a common content type. We have created custom event receivers to be attached to these lists. But since we want the same event ...
4
votes
2answers
58 views

How to check where 'SPEmailEventReceiver' is attached?

I created a simple event receiver of SPEmailEventReceiver. But while creating it, Visual Studio did not ask me on which list/library it needs to be attached. In PowerShell I know that I can get event ...
1
vote
0answers
20 views

Prevent update of SharePoint document library item when clicking [OK] button in Edit Form

I am developing a SharePoint (2007) document library item event receiver to force the user to click on the [Cancel] button instead of the [OK] button in the Edit Form (EditForm.aspx), since clicking ...
3
votes
2answers
767 views

There was no endpoint listening - AppEventReceiver

I'm developing provider-hosted SharePoint 2013 App with Windows Azure as a backend. I created an app event receiver to fire when app is installed. When i publish my Web App (.NET MVC4) to Azure, ...
0
votes
1answer
792 views

Reload page From Event Receiver

How to reload a page from Event Receiver after adding item. I have an event receiver with following sample code, but after adding item, I would like reload a page, because my dropDown List should get ...
1
vote
1answer
34 views

Copy document to document library in another site with meta-data

I have implemented an event receiver on a SharePoint 2007 (MOSS) document library, to perform certain validations via the itemUpdating method and to copy the document to a document library in another ...
2
votes
1answer
33 views

Best practice for calling web service from Sharepoint List Item Event Receiver

What is the recommended way to introduce the invocation of an ASP.NET web service from a SharePoint list item event receiver (specifically, a MOSS 2007 document library)? I don't want to tightly ...
3
votes
1answer
60 views

PDF conversion version issue

I am converting word files to PDF using word automation service using event receiver ItemCheckedIn event. I have selected major-minor version settings in Versioning Settings. in The code works fine ...
1
vote
2answers
42 views

Event Receiver to add value in field automatically in sharepoint list

I have a list having 5 fields. I want to add value in 5th column when i add new item. Like when i fill value for 4 columns and save item, then 5th column should auto populate with value = "Checked". ...
1
vote
2answers
6k views

properties.ListItem is NULL on item added Event Receiver?

The following articles... http://moonistahir.wordpress.com/2008/05/05/properties-listitem-in-itemadded-is-null-workaround-to-get-listitem/ ...
1
vote
3answers
749 views

How to get absolute previous url in event receiver?

I have a root site list which I am displaying on several sub-sites using CQWP based on a custom filter and entering the list values frm sub-sites itself to the root site list. So I am trying to ...
1
vote
0answers
16 views

MOSS 2007 SPItemEventProperties values of fields accessed via display name or internal name

I need to access the before and after field values for the list item corresponding to an event receiver in MOSS 2007. The name of the field is Annual Salary and the InternalName is ...
2
votes
1answer
25 views

ItemUpdating event receiver method yielding COMException in MOSS 2007

I implemented an event receiver and attached it to a MOSS 2007 document library. I overrode the synchronous itemUpdating method and perform some validation before letting the update operation proceed. ...
3
votes
1answer
55 views

Deploy/bind event receivers to lists in single feature

I need to develop and deploy an event receiver (A) to a specific document library <1> and another event receiver (B) to another specific email-enabled document library <2>; both document ...
0
votes
1answer
26 views

Getting BeforeProperties for User field in ItemUpdating or ItemUpdated Event Receiver

I am trying to get the BeforeProperties for an User field in a custom list on ItemUpdating or ItemUpdated Event Receiver. i always getting 'null' on the before value String Olds = ...
0
votes
0answers
9 views

Eventhandler status? 2013

I am attempting to check during an itemUpdating event receiver if the event was cancelled for any reason (did the user put in a document name that wasn't unique?) and I am looking through the ...
0
votes
1answer
14 views

Add a column in Document Library on the fly when the Document Library is created

I want to create a column created/added when I create a document library or splist within my site collection. Will the approach of : ListCreated event receiver work in this situation? Should I ...
0
votes
0answers
15 views

Multiple EventReceiver for custom list firing same time

I created a multiple event receiver under single solution. Each bind to specific custom list using Elements.ListUrl. All three event receiver target a single custom list to perform item insert with ...
0
votes
2answers
109 views

javascript event when a row is updated/changed in a Datasheet view?

Is there any way to catch update/changes in the Datasheet view of a list in JavaScript in SharePoint 2010? I see their are event receivers but nothing in Javascript.
2
votes
1answer
43 views

ItemUpdated event not firing when list item updated from another event receiver

I have two lists List1 and List2. I have written code to update List2 item from ItemUpdating event of List1. This should fire ItemUpdated event of List2 but it does not. Below is the code I used to ...
0
votes
1answer
28 views

List item add with event receiver COMException

I expose my scenario and my issue. Scenario I have one custom list in SharePoint 2010 Foundation called Actions. This list has one event receiver that override this methods: ItemAdded ItemUpdated ...
1
vote
2answers
57 views

Find out user who deleted an item in SharePoint 2013 Document Library or List

Let's say a user deletes few items from a document library. Is there a way we can find out the user name of the person who deleted those. I looked into alerts which does let one know which item was ...
1
vote
2answers
57 views

WebProvisioned event handler is firing twice and subsite does not inherit the parent's top navigation

I have created an web event receiver but the webprovisioned event handler fires twice. I have set the scope to web, but it still fires twice. Problem 1 This is elements file: <Elements ...