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
568 views

Remote event receiver on sharepoint 2013 online does not work

I recently started to develop Sharepoint 2013 on my office 365 account. The problem is that remote event receivers which I attach to deploying application do not work. I mean that they should listen ...
1
vote
2answers
1k 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 ...
14
votes
1answer
933 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 ...
3
votes
1answer
83 views

Ascertain the method of file upload in SharePoint 2013 document library?

In an ItemAdded event receiver, is there a way to ascertain whether the file was uploaded via the "new item" button in the document library or whether it was dragged and dropped into the browser ...
3
votes
1answer
548 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 ...
1
vote
1answer
31 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
25 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
28 views

Is there a good way to connect to a SQL Server using Windows authentication from a Sharepoint 2010 event hander?

Inherited some legacy code that makes use of SQL authentication which I want to eliminate. When I tried using Windows auth, the connection seemed to be getting created using ANONYMOUS LOGIN. is there ...
1
vote
1answer
129 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
44 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
145 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?
0
votes
1answer
18 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
1answer
43 views

Event handlers not triggering when attached to custom list (2013 on-premises)

I have a three 2010 event handlers installed on-premises on 2013 foundation that are all part of the same solution (added, updating, updated), none of which are triggering when they are attached to ...
0
votes
1answer
254 views

How do I know whether an Event Handler has already been attached to a SharePoint O365 list?

I have a SharePoint O365 site which has a custom list named ReportMetadata. There is an event receiver for this list for ItemAdded event which will take the image from the attachment column of the ...
0
votes
1answer
89 views

Cancel an event handler based on user permissions

while adding an item to the sharepoint list i have created one custom group. if the user not belongs to certain group means the event handler should be cancelled.
0
votes
1answer
553 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
681 views

Prevent folder deletion in document library - Explorer view snafu

We want to prevent users from deleting top level folders in a document library. We created an event receiver on ItemDeleting that checks if the item type is a folder and if the path is the top level, ...
0
votes
1answer
454 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 ...
3
votes
0answers
57 views

Event receiver on external list

Recently I am working on a project to set event receiver on external list. Below list what we have done Create trigger to capture data change in database and log them into data table Implement ...
3
votes
0answers
925 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
75 views

restore default incoming email settings

I wrote an email event receiver for a list, which override 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
248 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
25 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
0answers
13 views

Event for DateTime Controller, when the DateTime Controller is Cleared

I am using a DateTime Controller with an event validator (Required Field). I need to fire an event when a user clears the DateTime Controller (Empty). I was trying to do this in ...
1
vote
0answers
122 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
2k 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 NewItem.ProjectID=ParentItem....
1
vote
0answers
368 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
23 views

Event Receiver ItemUpdating not firing when using browser enabled Infopath 2013 form

I have a browser enabled InfoPath 2013 form used to edit a list item. The requirement is to create a copy of the original item when that item is updated with new information. So when the item is ...
0
votes
0answers
11 views

EventHandler for changing project fields

I need change "ProjectName", after creating project (add number in projectName). Can I use RemoteEventHandler for this (event OnCreatingRemote)? Or I should use a web service for changing "ProjectName"...
0
votes
0answers
20 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 ...
0
votes
0answers
48 views

Rename Folder in ItemUpdating

I just wanted to rename an item of a custom content type based on the default folder content type while it is being created. My idea was to do it in ItemUpdating event due to other operations I am ...