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)

13
votes
1answer
648 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
46 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 ...
1
vote
1answer
25 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
289 views

remote event receiver on sharepoint 2013 online does not working

I recently started to develop Sharepoint 2013 to 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
1answer
107 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
625 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
123 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
293 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
19 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
32 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 ...
0
votes
1answer
25 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
239 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
253 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 ...
2
votes
0answers
394 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
71 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
95 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
80 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
313 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
11 views

List Synchronization in Sharepoint

I'm running Visual Studio 2010 with SP 2010. I was tasked with creating a setting page (within Site Action dropdowns). On that page I will select 2 different lists and allow them to synchronize with ...
0
votes
0answers
29 views

Event Handling in powershell

I am wondering why the event in this sample code cannot be started. $import = New-Object Microsoft.SharePoint.Deployment.SPImport($importSettings) $CreatedAction = { $ro = ...
0
votes
0answers
18 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
1k 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 ...