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

List item event receiver firing when list is modified

If I have an event receiver that handles the item added event, it fires whenever the list is modified. While debugging the event we see that it is firing over a non-existim item (properties.ListItem ...
0
votes
1answer
26 views

Event receiver on user log in

I'm trying to make a feature to assist with user provisioning. Our users don't exist in our domain until they register, at which point they're sent directly to SharePoint. I'm trying to populate ...
0
votes
1answer
26 views

how to execute PowerShell script inside an event receiver from sharepoint online

I want to execute a powershell script from an event receiver. The event receiver is triggered whenever an new item is added to my custom list in sharepoint online site.
0
votes
0answers
11 views

How to add color to calender in programatically using event receiver?

When ever an item is added into the calender using event receiver 2012. It need to check category column values based on selecting category color should change in sharepoint2013. Example:-If ...
0
votes
2answers
16 views

Event Receiver Timing?

I have an event receiver that listens on three lists. When I save Data in my applications, about 7 elements are changed, so the event receiver has to start 7 times. Inside the ULS-log I can see the ...
0
votes
1answer
32 views

Event Receiver for custom List and Document Library

What is the difference between Event Receivers for custom lists and a document libraries? The Document library Events are firing even when we select a custom list event receiver. What exactly is the ...
0
votes
2answers
17 views

SharePoint Folder name and item count in SharePoint Folder in Event Receiver SharePoint 2013

I have few SharePoint Folders under Document library(not SharePoint List) in SharePoint 2013. When i added document(Event Receiver) in SharePoint folder, i require few values called SharePoint Folder ...
0
votes
2answers
23 views

Event reciever on item updated do not start when item is updated trough a workflow

When an item is updated maually the event reciever starts and work as expected. But when the item is updated through a SharePoint Designer Workflow, nothing happens. There is nothing about this in the ...
0
votes
1answer
25 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
0answers
12 views

Before ItemCheckingIn

I am trying to force users to tag their documents so I have created a custom content type with a required managed metadata field (department). I would like to trap the check in even so I can prompt ...
1
vote
3answers
32 views

which one is better considering performance, workflow or event receiver?

Using events like ItemAdded, ItemUpdated which one has the good performance on custom list. What can be preferred considering there are large lists?
0
votes
0answers
60 views

Event receiver not firing Document Library

I have a local development environment in my VM.(SharePoint server 2013 SP1,Visual Studio Ultimate 2013-update3). I'm trying to add an event receiver to a document library on ItemDeleting. Deleting a ...
1
vote
1answer
13 views

How to handle DeleteItem in external list

We have an external list bound to data source by the WCF service. It displays a metadata of "tasks", and for every "tasks" we have in another document Library a special folder. When user selects ...
0
votes
0answers
12 views

Not able to debug events

I am trying to download file / items when they are uploaded / added by an external application to SharePoint Document library. I am able to debug ItemAdding Event, depending on condition ItemAdded ...
0
votes
2answers
38 views

ItemAdded Event Receiver on Explorer View Firing Multiple Instances when Moving Item

I have an event receiver which works fine (triggering only once) when I drag and drop a file to a document library. It also works fine using the upload button, it will trigger twice as there are two ...
0
votes
0answers
20 views

why file.move fires itemadded event in an event receiver and creates a new file if I click on save button two times?

I have an event receiver where I change the name of the file,it works right but If I click two times the record button (this is used in an infopath form) a new item is created and an itemAdded event ...
2
votes
1answer
52 views

SharePoint Document Library document delete

Please suggest your solution for the following scenario: A user deletes the document from document library and an e-mail has to be triggered to the admin notifying the information about the document ...
0
votes
0answers
19 views

webprovisioned activatedfeature save conflict

I am having an issue when creating a WebProvisioned eventreceiver that activates a feature. However I am getting the "Save conflict - Your changes conflict with those made concurrently by another ...
0
votes
2answers
23 views

item adding event receiver failes to trigger in bulk items inserting

Currently am developing an item adding event in event receiver for a custom list. The list is updated using datasheet view, usually by adding bulk items (ex : 50 items ) to list using datasheet view. ...
1
vote
0answers
44 views

Event receiver not firing when item added by workflow

event receiver not firing when item is added by workflow. Its working perfectly when we manually add item to list. I am using SP Designer 2013. When we add item through workflow, it shows that item is ...
0
votes
0answers
15 views

Feature deactivation error

I have a chain of features that are connected with a master feature. So when I activate, deactivate master feature on the farm, others get activated sequentially. Now this is giving an error with a ...
1
vote
2answers
39 views

Best practice for autonumber

What is in SharePoint 2013 on premise the best way to create an autonumber system? It's for an expense note system and it should be nice to have something like 2014/0001. I know there are different ...
1
vote
1answer
15 views

Debug SharePoint 2010 Feature Event Receiver Remotely

I'm attempting to debug a SharePoint 2010 event receiver remotely and I'm running into a strange scenario. I'm able to deploy the code via PowerShell to the remote server and view the remote server's ...
3
votes
1answer
47 views

SharePoint 2013 app uninstalling behaviour

I have been seeing change of behavior on O365 when app is uninstalled. Not sure if anybody experienced the same. Let me explain, App Uninstall behavior before: When app is uninstalled, SharePoint ...
0
votes
1answer
41 views

Handling events for all event receivers fired more than once in code

Within an item-adding event, suppose if we write code that creates new item, then item adding will fire twice. Same is true for item-added, item-updating, item-updated, etc. In such cases how can ...
1
vote
2answers
179 views

Handling ItemUpdating event receiver firing more than once

The reason why item-updating event receiver fires twice in case of document libraries is because of check-in/checkout. Also it can fire twice in case of doc library/list if we are updating the ...
0
votes
2answers
39 views

Checkout event receiver

I am using the below code to checkout the document in a library when an item was updated. The library has versioning and content approval enabled. My problem is that when you check in the document ...
2
votes
1answer
30 views

Event Receiver for Social Features

Are there any such things as event receivers for social activities in SharePoint 2013, e.g. when a user likes or rates an item? If not, are there any other ways to execute custom code when events like ...
0
votes
2answers
54 views

How do you decide the feature scope of event receiver?

We have event receivers for List, List field, List items, Web, Site and List email. How do we decide the feature scope of the event receivers? Is it best practice to set it to sitecollection or web ...
4
votes
1answer
49 views

Synchronous ItemAdded event. Do I need to explicitly call properties.Dispose()?

We have a SharePoint 2010 On-Prem solution. I have an ItemAdded event receiver which has been made synchronous using the Synchronization property. Now, when this event receiver fires, I have used the ...
0
votes
1answer
50 views

Change a property in an ItemUpdated event receiver

I have a very simple code but I can't change a property in an ItemUpdated event receiver public override void ItemUpdated(SPItemEventProperties properties) { base.ItemUpdated(properties); ...
0
votes
0answers
15 views

Get reference to web and list in workflowstarted() and WorkflowCompleted() event receivers

I am trying to write event receivers for WorkflowStarted and WorkflowCompleted events for workflow. I want to access the current web, list, Item reference from this method. I wrote the following code: ...
0
votes
1answer
24 views

Document Library event reciever only firing for newly created libraries

I have added a new event reciever which is supposed to work on all the document libraries present in the site. Now the problem is that it is only working for the libraries that are created after the ...
0
votes
0answers
15 views

Event Reciver on SP2013 - weird behaviour handeling error

I have an event receiver(ItemDeleting) that prevents an item deletion with the following code: properties.Status = SPEventReceiverStatus.CancelWithError; properties.ErrorMessage = ...
1
vote
2answers
31 views

how to read data from a document when uploaded to library?

Suppose we upload a word doc to a document library. Is there any way we can pick some data from the document and auto generate the columns of the library? One way would be to use item added event ...
0
votes
2answers
37 views

Feature removal without deactivation

My project had a feature, and on activation of this feature, I was binding an event receiver to a list; on deactivation, the event receiver was removed. It so happened that this feature was activated ...
0
votes
1answer
64 views

How to convert .eml file to .msg file for each new item in a document library?

I have a document library. Sometimes we upload .eml files. These .eml files could not be opened on mobile devices. When you convert the .eml file to a .msg file it is possible to open the file on ...
1
vote
2answers
40 views

How to handle Events in SharePoint 2013 On line custom list?

I am working on SharePoint 2013 on line. I would like to know best possible way for Event handling in SharePoint 2013 On line.In SharePoint 2010 we manage it through Event Receiver or workflow.
1
vote
1answer
37 views

Force checkout new items

I would like to force check out documents to the owner of the document when it is added. I am currently doing this when a new item is added via a workflow. I'd like to achieve this via an event ...
0
votes
0answers
24 views

how to move a file in itemupdating

Like described in the title i'd like moving my file in itemupdating in place of itemupdated. Like this the list is refreshed and file doesn't display anymore. I use this that works and move correctly ...
0
votes
1answer
143 views

Save Conflict error While Saving

I have one sharepoint 2010 application, in which i have to add the item to the list followed by 2 more updates within the same list item. These are the items that I have to do while saving. I need ...
1
vote
1answer
41 views

List Item sending an email on ItemUpdated previous confirmation

I'm working on a Sharepoint 2010 List trying to send an email with a custom Even Receiver, on Item Updated. The List Item has to send an email when some fields are filled, other email when other ...
1
vote
0answers
20 views

How to display error message on the same page even with attachment [duplicate]

I have been trying to figure this out for days with no luck. I am working on Sharepoint 2013 application. In my application, the fields will be validated and display the error if the input is wrong. ...
0
votes
1answer
25 views

Event Receiver for View Add/Edit?

Is there such a thing? It's not listed as a receiver http://msdn.microsoft.com/en-us/library/office/gg749858(v=office.14).aspx but I'm hoping I'm missing something. Am I limited to over-riding the ...
0
votes
1answer
54 views

Use one event receiver on two lists in different site collections

This is my scenario: I have one Web application with 2 site collections. Then I have 2 lists ('list1' and 'list2' are in different site collections). The two lists however are identical (with the ...
0
votes
2answers
44 views

How to detect when a new item version is added in an event receiver?

Is there a way to detect (in C#) if a new item version was added in either ItemAdded or ItemUpdated event? I would only like to execute some code when either new item is added, or a new version of the ...
0
votes
1answer
48 views

GacDeployment does not show any results

following scenario. I have a structure that looks as follows: WebApplication (App) --> SiteCollection (SiteCol) --> Site (Site) --> WebSite (Web) --> List I developed an eventreceiver which should ...
0
votes
1answer
84 views

Set approval status of a list item to pending while retaining the approved version

I have a site with multiple lists which are linked to each other. When I update an item(edit / approve) in one list, the approval status of the corresponding items in the other lists also should be ...
0
votes
0answers
112 views

Event Receiver not firing when item is published/approved

I have the below code for a custom event receiver to fire when an item is either updating, updated and checked in. But when the item is published to a major version and the approval status changes to ...
1
vote
2answers
1k views

Get selected value of dropdown choice list item

I'm trying to get the selected value of a dropdown list item. Nothing works. SPFieldChoice dropdown = list.Fields["Admin Guide"] as SPFieldChoice; var choices = dropdown.Choices; var selection = ...