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

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 ...
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': ...
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 ...
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
1answer
11 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 ...
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 ...
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 ...
2
votes
1answer
33 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: ...
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 ...
1
vote
0answers
30 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 ...
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) ...
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
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 ...
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
36 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
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
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 ...
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 ...
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: ...
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 ...
0
votes
0answers
6 views

globalnavigation not taking effect in webprovisioned

I have set to inherit the top navigation from parent site, but it does not take effect until I go to site settings\navigation and I simply click ok then it is set without modifying any options as top ...
1
vote
1answer
27 views

Error on ListAdded event receiver

I have created a List Event Receiver to add a content type to every document library and added the following method : public override void ListAdded(SPListEventProperties properties) { ...
1
vote
1answer
85 views

Error thrown on Item updating event in SP 2010 “Save Conflict Your changes conflict with those made concurrently by another user”

I have a custom list and I have written an itemUpdating event on it. The event sends an email to some users with updated data. When I click on save, the changes are not saved, though i get the email ...
0
votes
0answers
10 views

Publishing page javascript events

I want to do some manipulations with page content when it's loaded in edit mode. For this purpose I have registered an event handler as follows: ...
1
vote
0answers
127 views

Service unavailable when deploying event receiver to Sharepoint

I'm trying to deploy a simple remote event receiver (as per http://sundarnarasiman.net/?p=224) to a hosted Sharepoint 2013 server, for which I have admin rights. However, when building/deploying this ...
0
votes
0answers
14 views

Restore viewstate while cancelling request

I have a SPItemEventReceiver with custom ItemAdding handler. When any exception occurs (frequently it's just a model validation) it handles this exception in Handle method. Now it looks like this: ...
1
vote
0answers
16 views

Whether item.recycle method will trigger event receiver?

When an item.delete() methods get called it will trigger the respective item deleting and item deleted event receiver. Whether this will behave same for the item.recycle() method too.
0
votes
1answer
57 views

How to attach a web provisioned event receiver to a web template?

I have created a web template using the onet.xml and elements.xml. I have created a web provisioned event receiver, but it is not really attached to my custom web template. When I create a site the ...
0
votes
0answers
19 views

Feature with an listinstance and eventreceiver to modify version settings, order issue?

I created in vs an listinstance. I add this list instance to a feature. In this feature I created a feature event receiver to modify the version settings. I see now when the feature event receiver is ...
0
votes
0answers
35 views

Create a list in the root web when site collection has been created

I have a site definition for creating a Site Collection. I need to develop a code (Event receiver, Feature Receiver and etc) to create a list in the root web of my site collection when it has been ...
0
votes
1answer
42 views

EventHandler, HttpRequest and uploading file via HTTP PUT

I'm trying to develop and event handler which reads PDF files in ItemAdding method. After reading a bit on the internet, I finally found a way to do so. When uploading a file through a browser, ...
3
votes
2answers
71 views

Programmatically create a ContentDatabase C# SP2013

I am searching for a solution of my problem. I banged my head for the last few hours and tried several things and solutions found on google or stack-exchange. The database should be created via Event ...
0
votes
1answer
44 views

Unable to debug SPListEventReceiver

Running VS and SharePoint on the same server, but I am unable to debug my simple Event Receiver to see why it is not firing. Here is the snipp: public class EventReceiver1 : SPListEventReceiver { ...
1
vote
0answers
61 views

Convert document to pdf using event receiver in SharePoint 2010 not working

I followed steps on this link to convert a word document being added to pdf format using a custom event receiver. I was able to attach the receiver and trigger the code written but somehow the ...