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)

1
vote
2answers
302 views

Change displayname of a List with event receiver

I need to change the displayname of a list using "ItemUpdating". The source of the new name is the "Title"-field of the item which fires the event. Is this possible? I tried it with: if ...
1
vote
2answers
1k views

How to deploy C# event receiver as a farm solution

I have a C# event receiver that utilizes the ItemUpdating event. The project was originally created as a Sandboxed solution and worked fine, however, due to limitations I've decided to switch over to ...
1
vote
2answers
169 views

SharePoint session events

I'm writing SharePoint webparts that are communicating with external system. Currently, on each request, a connection with system is made, user is authenticated and session is established - than ...
11
votes
1answer
471 views

Memory leak in Microsoft.Sharepoint.Taxonomy.TaxonomyItemEventReceivers?

I've been trying to locate some memory leaks we've noticed in our ULS (EventID: nask, An SPRequest object was not disposed ... etc). On my dev environment, and at least 2 other cleaner installs, the ...
1
vote
1answer
309 views

SPContext.Current.FormContext.OnSaveHandler Not Firing from Custom Field Type Control

I am having the exact same problem described here. Unfortunately because I don't have 50 points yet I can't comment on it so I have to create a new duplicate question. I mean it's not "100% EXACTLY" ...
1
vote
1answer
203 views

remote event receiver on sharepoint 2013 online does not working

Hello i recently started to developing sharepoint 2013 to my office365 account. The problem is that remote event receivers which I attach to deploying application do not work. I mean that they should ...
1
vote
1answer
97 views

How do I update or add field in a list item so that the value is a space character

I am building an event handler. When items in a library on one server farm are updated or deleted, I take that information and ammend a list that resides on another site. I require that one of the ...
1
vote
1answer
40 views

An event to be fired on editing a file

As title says, I need an event to fire when a listitems file has been edited. I appreciate this isn't as simple as it having it's own event, which is why I've tried to make use of the itemupdating ...
1
vote
1answer
498 views

Event Receiver CancelWithRedirectUrl issue with multiple selected list items

I've got my event receiver (itemdeleting) working almost exactly the way I'd like it to. Upon certain conditions in the itemdeleting event, I am setting the status to CancelWithRedirectUrl and ...
1
vote
1answer
108 views

Disable save item button while save process is not completed

User clicks on Save Button and saving procedure can take "few" seconds. User can click again..that`s why i need to disable save button, how can i do this?
1
vote
1answer
191 views

workflowAssociation not displaying workflow

I have created a feature. In the FeatureActivated event I am creating some lists. I am then trying to attach a custom workflow to one of the created lists. However when I do this the workflow history ...
0
votes
1answer
129 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
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
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
1answer
448 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
328 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 ...
2
votes
0answers
246 views

List event receivers not triggered after quick editing/grid editing

I have a custom Sharepoint 2013 list with event receivers attached to it (adding, updating, deleting). However, it looks like the event receivers are not triggered when the user is adding/editing in ...
2
votes
0answers
67 views

restore default incoming email settings

I wrote an email event receiver for a list, which overrode the default incoming email settings (I now only have an option to turn it on/off and set the email, and the rest is expected to be handled by ...
2
votes
0answers
45 views

Error thrown after SaveBinary in ItemAdded event handler

I'm working on a ItemAdded event for a document library, and I'm running into this error in SharePoint 2007... The file Lists/Shared Audit Documents/1387/Audit Report.docm has been modified by ...
1
vote
0answers
61 views

Notifying a webservice about list update events

I have a custom webservice hosted in SharePoint that caches data from a certain list. It needs to update the cache every time the list is updated. It seems to me there are 3 ways this could happen: ...
1
vote
0answers
249 views

Document library event receiver when creating documents

I created an event receiver that processes some information in docx files when uploaded to the library. I do this in ItemAdded event. Everything works fine when the file is uploaded. When the files ...
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
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
0answers
765 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 ...