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
2answers
494 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
9 views

Document library Item update even receivers are not firing when update item from code but working fine manually updated

I have been pleased with the results that I had setting up an ItemEventReceiver for a document library. The event receiver fires every time I update a doc record by hand (using Item Added event). ...
0
votes
0answers
18 views

Use Event Receiver to Start SPD Workflow when Item is Updated

I've searched all day for guidance about how to create an event receiver that will start a SharePoint Designer workflow when a library item is updated, but haven't been able to find much. I'm very new ...
0
votes
1answer
21 views

Get selected Value from Lookup Dropdown on ItemAdded

I am attempting to grab the text value of a lookup dropdown after an Item is Added. The way I'm currently doing this, gives me the string 23#ADMIN, which is the combined ID and text. I could go the ...
0
votes
0answers
1k views

Sandbox Event Receiver Not Working on SharePoint Online [duplicate]

I build an SharePoint 2013 Sandbox Event Receiver which works in my local on-prem dev environment. However, when pushing it up to my SharePoint Online tenant it does not work nor even fire at all. I ...
1
vote
4answers
1k views

Why does my Event Receiver (sandboxed) not work on Sharepoint Online, but works perfect on premise

using System; using System.Security.Permissions; using Microsoft.SharePoint; using Microsoft.SharePoint.Security; using Microsoft.SharePoint.Utilities; using Microsoft.SharePoint.Workflow; namespace ...
0
votes
2answers
33 views

javascript event when a row is updated/changed in a Datasheet view?

Is there any way to catch update/changes in the Datasheet view of a list in JavaScript in SharePoint 2010? I see their are event receivers but nothing in Javascript.
2
votes
1answer
31 views

SPEmailEventReceiver create item with relation to email

Im trying to implement custom SPEmailEventReceiver. I created class simular to this: http://stackoverflow.com/questions/24370749/getting-the-email-message-eml-as-an-attachment-to-sharepoint-listitem ...
1
vote
1answer
31 views

Event receiver on library. Fire only once on upload

Here's what I'm trying to do. I'm adding an event receiver on my pictures library such that when something gets uploaded, the image gets resized. I've got the code working fine for this. However, ...
2
votes
1answer
534 views

SharePoint event receiver ItemUpdating event behaves differently when a list item is updated through Workflow

I am having a SharePoint custom list which is having a designer workflow and event receiver attached to it. In the event receiver on ItemUpdating event I am having the below code to check if a ...
1
vote
1answer
551 views

There was no endpoint listening - AppEventReceiver

I'm developing provider-hosted SharePoint 2013 App with Windows Azure as a backend. I created an app event receiver to fire when app is installed. When i publish my Web App (.NET MVC4) to Azure, ...
2
votes
1answer
38 views

SharePoint Online Event Receiver not always firing?

Hello, I have an event receiver set up on a list in SharePoint online. I have a provider-hosted SharePoint Add-In running in Azure, which hosts a remote event receiver service that is called when an ...
0
votes
1answer
472 views

Can't use SPItemEventProperties ListItem on ItemAdded in Event Receiver

I'm using event receivers to modify some of the inputs in a SharePoint 2013 site. They are fairly straight forward, here is a simple example public override void ItemAdded(SPItemEventProperties ...
1
vote
1answer
659 views

Task List ItemAdded Receiver doesn't work for workflow created tasks

Why doesn't the ItemAdded Receiver get called when a task was created by a workflow, but when a user created a task it does? I tried setting the Receivers ListUrl to my list URL and tried using the ...
3
votes
1answer
273 views

custom email event receiver doesn't accept .msg file attachments

Environment is Sharepoint 2010. The issue I'm running into is essentially the one that occurred here: ...
2
votes
1answer
51 views

Specify ListUrl for Event receiver

I need to add an event receiver on a list in substite. My list is: test in subsite: /sites/mysite2 I tried a lot of combination but always same result when i try to deploy: The list doesn't exist ...
0
votes
1answer
846 views

Event Receiver on Publishing Page Library

I created a new event receiver and hooked it onto the Pages library for my publishing site. I attached each one of the events exposed, but I cannot get any of them to fire. elements xml: ...
1
vote
2answers
45 views

disable event receiver in sharepoint list

Can anyone tell me that how can i disable an event receiver on one SharePoint list while adding an item in other? For example i want to disable event receiver on list B while i add item in list A. I ...
0
votes
0answers
22 views

event receiver is not firing in posts list of SP2013 blog site

I have made an event receiver to insert the blog posts into another blog list using ItemAdded Event receiver and ItemAdding event receiver. It's working fine for simple/custom list but not working ...
0
votes
1answer
23 views

SPLongOperation in itemupdating

I'd like using SPLongOperation in an event of a list (itemupdating). The problem is I don't have any argument to pass at the constructor of SPLongOperation (this.Page doesn't exist) public override ...
1
vote
1answer
28 views

Custom workflows won't send email on doc lib with event receiver

I've got a ItemAdded even receiver running on a document library, and I just built a simple (send email) workflow in SPDesigner and I'm getting the following error below: RequestorId: ...
0
votes
1answer
674 views

WebProvisioned Event Receiver Firing Twice

I am creating sites and subsites with object model from a console app. And what i realized is, it fires twice for every newly created subsite. I checked from Sharepoint Manager if the event receiver ...
0
votes
3answers
23 views
2
votes
1answer
508 views

SPListItem.Update() not firing ItemUpdating

I'm updating item in SPListItemCollection using SPListItem.Upadte() but my event receiver is not receiving ItemUpdating/ItemUpdated events (breakpoints are not hit on either handlers). Sample code ...
0
votes
1answer
26 views

What gets trigged fist List Workflow item added or List Event Receiver ItemAdded.? [duplicate]

Workflow Vs Event Receiver I have a list in a site collection called projects. I have a workflow on Item Added and now currently in the process of creating Event Receiver. I would like to know which ...
0
votes
2answers
4k views

How to update calendar item created by an other list?

Appreciate any thoughts on this: A user edits an existing list item to pick a date to select a project deadline. A custom workflow, initiated by that item change, takes that date and project title ...
0
votes
1answer
104 views

Item Adding / Item Added Event Receiver for Document Library, Change Content Type

I have an issue regarding Content Types,I want to set a particular Content Type for each document set within a library, however SharePoint 2013 defaults to the library's default CT. The issue is ...
2
votes
0answers
40 views

Set permission on ListItem level. Issue with usernames with Norwegian letters

I have created an EventReceiver that is setting permissions on ListItem level. I am having some problems with users having norwegian letters (æøå) in their username. For other users it works. Under ...
0
votes
1answer
15 views

SP 2013: How to reload page in event receiver on ribbon delete?

I have an event receiver associates to a list that it is executed when an item is deleted from list by ribbon. Is there, in sharpeoint 2013, a way to reload the page that contains the list? My list ...
0
votes
1answer
35 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
3answers
5k views

Change item during ItemAdding [not an error]

I'm trying to update SiteUrl field during ItemAdding event. The field is Type="URL". I use this code in Event Receiver, but after user added new item, the field is still empty. (User cannot set this ...
1
vote
0answers
19 views

Cannot Activate Sandbox Solution

I'm trying to activate a sandbox solution on a SharePoint site but the 'Activate' button is greyed out. I have made sure that the Sandboxed Code Service is started but it's still not enabled. What ...
0
votes
0answers
20 views

ItemDeleting event receiver is not triggered for files when folder is deleted

I have item deleting event receiver on document library. I have folders and files in library. When I delete file event is triggered. When i delete folder event is triggered for folder but not for ...
0
votes
2answers
38 views

deleting event receiver programatically using c# code

I am using the below code for deleting the event receiver It works fine for users in admin group, but for users in contributors group i am trying to delete the event receiver by using elevated ...
0
votes
1answer
45 views

How to restrict user from deleting\editing documents if user is not author of that document

I want to restrict users from editing or deleting others documents, but they can edit/delete there own documents. In list we get this functionality in advance settings, but in document library it is ...
0
votes
0answers
10 views

Event receiver to update enterprise wiki page's Title once its Name is changed

I need to automatically update the wiki page title when its wiki page name get updated , currently i am doing this using workflow as follow:- so i am checking if the Name != Title, and update the ...
2
votes
0answers
37 views

Sychronizing a List and a Term Set

In an application I'm building in SP 2013, I would like to have several lists with lookup fields, attachments, workflows, etc., but also be able to reference them via tag fields (at least like a ...
1
vote
1answer
28 views

Programmatically changing a field won't trigger the event receiver

I have a console application that updates an item's field. The field is updated but it doesn't fire the event receiver attached to itemupdated. The same receiver fires when the item is updated inside ...
0
votes
1answer
86 views

SharePoint 2013 CSOM: How to attach an event receiver to a list

A list has a (C#) event receiver. I would like to attach this (existing) event receiver to another list (actually multiple lists) using the SharePoint client object model (CSOM). Is this possible and ...
0
votes
1answer
40 views

How to identify that new file is updated?

I have created an event receiver with ItemUpdated properties. I want to update some field if new document is uploaded. But whenever the any field is updated, ItemUpdated is fired. I want to check that ...
0
votes
1answer
24 views

How to set Receiver url to list

how could i set receiver list url? I dont have like this List/myList, i have a drafts url? <?xml version="1.0" encoding="utf-8"?> <Receiver> ...
0
votes
1answer
102 views

Calendar - How can I expand the recurrences of a recurring item in ItemAdding event receiver?

When a user add a new recurrence event to a calendar I want to check if any of the recurrences overlap with events already in the calendar. I saw the property Recurrences Data and its XML but I didn't ...
0
votes
0answers
35 views

Item added in Document Library

I am trying to update a document library column when adding a document. When I press "Take the published document, but create a draft to work on" after this time I want to update a column in my ...
0
votes
1answer
19 views

Email enabled list item added

I am currently developing an event receiver for an email enabled list and I'm confused as to how to correctly handle the item being added to the list. On one hand I have the ItemAdded event and on ...
0
votes
0answers
20 views

Find more information about an Event Reciver

I am trying to debug a customized SharePoint 2010 which I did not design/install. It is not doing what it is suppose to when a list item is added. I have installed SharePoint Manager, and found ...
0
votes
1answer
31 views

Event receiver, unpublish

Hi how could i use a event receiver based on a document library, to se if the user has unpublished a dokument in the library, in the mean time also i want to update a field in the document library ...
3
votes
1answer
106 views

Files moved with SPFile.MoveTo require a full crawl to be searchable

We've got a problem in our search-driven document management system, and I'm running out of ideas. A custom event receiver, on ItemUpdated() checks to see if the files metadata requires it to be ...
0
votes
1answer
2k views

Problem with save conflict when adding content type to list

I have a feature receiver with the following code: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site = (SPSite)properties.Feature.Parent; ...
0
votes
1answer
40 views

ItemAdding list field

I am trying to update list field using ItemAdding, public override void ItemAdding(SPItemEventProperties properties) { SPListItem curListItem = properties.ListItem; ...
0
votes
1answer
39 views

Target a Document Library Event Receiver to a Library with a Space in the URL

See XML below. When I attempt to activate the feature I get the error "The list "Test List" doesn't exist. Please fix the ListUrl attribute. <?xml version="1.0" encoding="utf-8"?> ...