Event handlers is a program statement which is called from an event. The event can be a human striking a key on the keyboard or pushing a button on a web page

learn more… | top users | synonyms (1)

0
votes
2answers
579 views

Unable to use SPEmailEventReceiver

I'm attempting to create a SPEmailEventReciever on an Email enabled library...The problem is that intellisense is not showing that class for me, so I am unable to inherit from it. MSDN shows it in ...
0
votes
1answer
535 views

Event receiver feature update

I am developing an event receiver in VS2010. To test the event receiver I deploy it to development using the functionality within VS 2010. This works without problems. However my concerns start when ...
0
votes
1answer
478 views

Custom Event Handler to handle Emails in Project Server

I am working on writing an event handler that handles the OnSending event of Project Server in 2010. I am very new to writing event handlers in MS Project and require your help in getting started on ...
0
votes
1answer
1k views

Updating a record from an event receiver and a workflow

In my situation, I have records being added to a record center that are immediately declared as a record. There are some fields that are associated with these list items that I need to be able to ...
0
votes
1answer
316 views

Event handler running and activated but not receiving

I have installed an event handler to catch ItemAdded and change the content type if the item is a folder. I have installed and deployed this solution using a WSP and have activated it, but it doesn't ...
0
votes
1answer
2k views

Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver in Microsoft.SharePoint.Publishing

I am seeing the following error in my application log: Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver in Microsoft.SharePoint.Publishing, ...
0
votes
2answers
2k views

Error Handling in Asynchronous Event Receivers

What are the best practices for error handling in Asynchronous Event Receivers? I'm currently writing an ItemAdded Event Receiver. The Status and ErrorMessage properties only seem to be relevant for ...
0
votes
1answer
77 views

How to map workflow task to the originating workflow

I would like to fire an event when Workflow Task is completed and I would like to check the original item and workflow that created the task. But I cannot find any value among the Workflow task ...
0
votes
1answer
197 views

what event reciever to overide for document lib when changing filename

I have a custom list which I have written a SPItemEventReciever for and it works. But when I do the same for a document library it doesn't fire. Is there anything I have to do if it is a document ...
0
votes
3answers
1k views

Create subsite using custom site template programatically

I Have a requirement where when a list item is created , a new subsite sould get Created using custom site template.(MOSS 2007) User should be able to select the custom template(present in site ...
0
votes
1answer
345 views

How to add a EventReceiver for ALL users on sharepoint?

Does anybody know, how I can add an EventReciever to a List, so that it is called from ALL users that are doing action. For example: I register an EventReceiver that catches the event "ItemAdded". ...
0
votes
2answers
723 views

SPList.ContentTypes.EventReceivers returns NULL

I am trying to create a feature that uses the API for associating an ItemAdded event receiver to a Discussion List. I was associating the Event Receiver to the SPList, however, i don't want the event ...
0
votes
0answers
17 views

Call of “DocumentSet ” class causes Exception (untrusted call)

I've attached an event receiver to a list, the listener gets fired when a new item is added. I have to create new document sets, but when I try to create an new instance of the DocumentSet class, the ...
0
votes
1answer
131 views

Why ItemUpdating is calling after ItemAdded event in Sharepoint-2010?

I am developing Sharepoint 2010 application where I have been using SPItemEvent to deal with ItemAdded event. One thing surprised me that ItemUpdating event is calling after ItemAdded event in List. ...
0
votes
1answer
128 views

Event Receiver Item Updating Datasheet view Problem

I've got a list that is displayed and edited in datasheet view and now I need to ensure that users cant edit a column if there already is a value, but if the column is empty they should be able to ...
0
votes
1answer
249 views

Can Event Receiver be used in Sharepoint Client Object Model 2010?

I need to e.g detect in a console application any updates that affect items in a SP list. Thanks!
0
votes
1answer
157 views

Event handler for document library in Sharepoint 2010

Using VS2012, I'd like to create an event handler for a document library. When a document is added to a library, an entry is created in a list. That list entry contains all the metadata from the ...
0
votes
0answers
95 views

sharepoint: FeatureUninstalling is called AFTER event receiver assembly has been uninstalled from GAC

There is an SharePoint solution that contains a web application feature. When activating, this feature modifies web.config of the target web application (registers an HTTPModule). If user activates ...
0
votes
0answers
21 views

Accès refusé lors de la création d"une collection de site

I am trying to create a site collection in ItemUpdated according to my Event Handler. SPSecurity.RunWithElevatedPrivileges ( delegate () { using (SPSite oSPSite = new SPSite ...
0
votes
0answers
65 views

Adding a document Template as Content Type from an Event Handler throws AmbiguousMatchException

I am trying to add a document template to my site, which is to be added during an event. This code has been tested in a console app and worked perfectly, however it keeps throwing the ...
0
votes
0answers
45 views

What are the events that are fired when a user updates a task on Project Server?

If for example I want to add an event handler when a new project is created on Project Server I create a class that is derived from ProjectEventReceiver class and I override the OnCreated method. But ...
0
votes
2answers
758 views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
0
votes
3answers
75 views

On ItemUpdating modify property

I have an issue, with this event. What my purpose is: i want to update one of the properties based on few criterias, so i want do fill a field A if field A is empty and the field B is not empty and ...
0
votes
1answer
261 views

ItemUpdating event not firing on folder rename w/ Windows Explorer

I have an Item Updating event receiver that needs to fire when a document library folder is renamed. Everything works perfect when a user renames the folder with the SharePoint UI. However, if ...
0
votes
0answers
766 views

Event Receiver - How to set item value with the value from the existing item in the SAME list?

I have a business requirement to add a new version (revision) of the existing list item. New list item should have this setting: NewItem.ParentID=ParentItem.ID ...
0
votes
1answer
130 views

SharePoint workflow tasks don't wait to be executed

I have created a workflow in Visual Studio which contains a replicator which creates multiple tasks for approval. The replicator contains a sequence activity which is consisted of createTask, a while ...
0
votes
1answer
319 views

Elements of type 'Receivers' are not supported at the 'Site' scope. This feature could not be installed

I created a event receiver for survey list types "102" why I can't scope it as anything other then "Web" scoped. If its Microsoft's restriction only option I got is to add it to template and then save ...
0
votes
1answer
450 views

Help with Blog EventReceiver, not firing

Ok so I have a blog site and I need to change the name of the author of each post to 'Anonymous' after he saves the post. I created an EventReceiver project in Visual Studio and gave the URL ...
0
votes
1answer
48 views

how to check custom property of added Item

There is a boolean column I added to a custom list, but I also have a feature on this custom list so that when a Item is added i have to check if this column exists or not and then its value. now i ...
0
votes
1answer
330 views

List Onload event

What I want to do: I have a custom list that contains a lot of items. When an user loads the list, all items of his view should be checked. If there is a special value in the listitem a notifiaction ...
0
votes
3answers
1k views

ItemAdding getting the file name of a document

I have a document library. I want to add an itemadding event recieiever to do some validation on the file name of the document. How can I get the file name from the SPItemEventProperties
0
votes
1answer
61 views

Limiting a List (Listview webpart) to a single User

I have a List Definition and I want to limit only 1 specific user to "add new items" to this list, oh by the way its a custom list definition, I was wondering what are the possible ways to accomplish ...
0
votes
1answer
488 views

Get the inserted values from inside a ItemAdding event

Is it possible to get the values that were inserted (to create an item in a list) from inside the ItemAdding event? For ItemAdded the data is available in properties.ListItem, but for ItemAdding this ...