Event Receivers are triggered by certain events on either a SPWeb, SPList or SPListItem.

learn more… | top users | synonyms

3
votes
1answer
49 views

Document in library: newly created from template OR uploaded?

Can I programmatically detect if a document in a library is uploaded or created with the "new document" button? When a user uses the "new document" button, my ItemUpdated event receiver doesnt fire, ...
2
votes
1answer
980 views

Webprovisioned not fire

I have a code from external developer that creates site in list event receiver. public override void ItemAdded(SPItemEventProperties properties) { bool EventFiringEnabledStatus = ...
2
votes
1answer
381 views

How can an InfoPath form get the Claims of the user who is logged in to SharePoint?

We have a document library that contains a list of proposals (InfoPath Forms). Users log in through SharePoint using Claims (Forms Auth, via an Extranet) who are from various organizations. The ...
1
vote
1answer
50 views

Event Receiver - Cannot access item from Document Library if the user changed the name

I have a library, that has versioning enabled. On that library is an event receiver that does stuff, on ItemUpdated :) Ok, if the user uploads a document, and does not rename the document during ...
1
vote
1answer
64 views

Redirect in Event receiver SharePoint 2013

My question was simple in SharePoint 2010 but in SharePoint 2013 is complicated! In 2010 I could redirect user by setting properties.Status and properties.RedirectUrl. Now RedirectUrl and ...
1
vote
1answer
29 views

Monotonically Increasing Counter

We need to do some calculation in an ItemAdding event receiver that uses a monotonically number. Because we need to use the ItemAdding event (rather than the ItemAdded event) we cannot use the item ID ...
1
vote
1answer
59 views

Getting exception on set default page programatically on feature activated in SharePoint-2010

my code on feature activated is public override void FeatureActivated(SPFeatureReceiverProperties properties) { using (SPSite SiteInUserContext = new SPSite((properties.Feature.Parent as ...
1
vote
1answer
132 views

Remote Event Receivers Troubles

So I've been working with the remote event receivers for Sharepoint 2013. I'm working with having them connect to a local IIS server to accept the inbound events as the Visual Studio tools make it ...
1
vote
1answer
56 views

Adding EventRecevier in SandBox Sharepoint2010

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
2
votes
0answers
75 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
88 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
0answers
109 views

Site is Provisioned but Content Type List is still empty

I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that everytime i am ...
1
vote
0answers
17 views

Exchange event receivers of lists

Recently i faced an interview question for which i am unable to find a suitable answer. I was given a scenarion to implement, which goes like this. There are two event receivers Ea and Eb, these are ...
1
vote
0answers
33 views

Using the SocialFeedManager object in remote event receiver

I'm trying to create a remote event receiver that will update the social feed of a user when ever he adds an item to a list on SharePoint Online. I've initiated the client context object using the ...
1
vote
0answers
73 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
0answers
122 views

Content type inheritance and event receiver

I have defined in a VS project a custom content type "Parent". I want to let the user create (from the ui) child content type of this content type, while benefiting some shared behavior (auto filling ...
1
vote
0answers
45 views

Distinguish Event Receiver Firing From Web UI or From Code

Think of some event receiver methods like ItemAdded, ItemDeleted etc. How can I detect in my event receiver code if the item adding/deleting is being triggered from the web UI or from the object ...
1
vote
0answers
439 views

sharepoint 2010 list groups from event receiver to form or dialog box?

How can I get a list of groups in a form or dialog box to select one or more groups, and then assign permissions to the document? Here in this code: using System; using System.Security.Permissions; ...
1
vote
0answers
161 views

Start SharePoint 2010 Designer Workflow using Visual Studio Event Receiver

I have created one send email workflow using SPD 2010 for my custom list (like Licnese Management). Now, I need to start that workflow only on specific condition like, If Deactivation Date / Valid ...
1
vote
0answers
123 views

Publishing page is firing ItemUpdated event twice the first time it is edited

I have a custom SharePoint solution that creates an enterprise wiki site based on a word document of a particular format. I have an ItemUpdated event receiver attached to the Pages library for some ...
1
vote
0answers
74 views

How do I prevent Office applications to update one of my SPListItem properties?

I have a document library in SharePoint whith a custom content type. There is one custom field that is set by an item added event receiver each time a new document is uploaded. My problem occurs when ...
1
vote
0answers
612 views

List ItemUpdated Event not firing when updating item from code

I have a problem with my eventreceiver. It is set to fire on updating item from a list, and works very good when I update that item from Sharepoint's web UI. However I have some code that goes through ...
1
vote
0answers
119 views

How to trigger event receiver on library when adding items to library through silverlight control?

I created an event receiver which triggers when an item added to the library.And it is working fine when i am adding items at library level(By clicking upload in ribbon controller of library).But the ...
0
votes
0answers
13 views

disabling multiple fiel upload on picture library

How can I make my library picture one to disable multiple picture upload at a time. only 1 at a time is nice. I tried but getting context as null. not sure how to improve it myself. I also need this ...
0
votes
0answers
23 views

timeout >1 event receivers

I have this custom list in my sandbox solution and when someone adds an item to the list the synchronous event receiver method itemAdded will call the spweb.webs.add method and adds a website. Now ...
0
votes
0answers
49 views

Event Recevier ItemAdded/ItemUpdated and Custom Workflow with Word Automation Service

I have created one visual webpart to convert selected word document to pdf using word automation service. Pdf is created successfully on each time when WAS timer job runs. I know we can not retain ...
0
votes
0answers
95 views

Event Receiver update document content on ItemUpdating

I am trying to update a document in the item updating event receiver, but I keep getting the error: "The file IOF/This is a.docx has been modified by ....." I have the following code in my SP 2013 ...
0
votes
0answers
44 views

SPWorkflowEventReceiver with the Content Approval Workflow

I have a document library that has 'Content Approval' turned on (List Settings > Versioning Settings > 'Require content approval for submitted items'. I also have a workflow event receiver, utilizing ...
0
votes
0answers
49 views

Delete all list permissions and set Author as contributor (Event Receiver)

I wrote an Event Receiver on ItemAdded to automatically create a calendar (Template 106) from a ListItem (Title => Name of calendar). So far so good... Problem of all is, that I want to delete ALL ...
0
votes
0answers
51 views

Sharepoint 2007 event receiver - debug on development environment locks production

Sorry for the strange title, but I'm having a hard time finding a good description of the problem, so here it goes. I've created an event receiver in my projekt and it works fine on my development ...
0
votes
0answers
137 views

In MOSS 2007, what does event ID 6644 means?

In SharePoint 2010, 6644 refers to error related to Event Receiver. In MOSS 2007, is this the same? MSDN doesn't specified what type of error this event id refers to. In the event log, I got the ...
0
votes
0answers
125 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, ...
0
votes
0answers
41 views

Choice field editable from CQWP

I have a list which includes a choice field that has values displayed in a drop down. I have added an event handler to the list item so that when a value is selected from the drop down an alert is ...
0
votes
0answers
28 views

InfoPath Services - form changed event

We are using InfoPath services in our project. Sometimes there is need to change form schema, and it's done via InfoPath Designer. Form is also published from InfoPath Designer to SharePoint. When ...
0
votes
0answers
38 views

InfoPath sending a Values from Event Receiver to the InfoPath

I want to send a Values from Event Receiver of Vebpart to the Infopath form. How could I send Values and data from Event Receiver of Items Adding to the Infopath form which are on the site in this ...
0
votes
0answers
159 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 ...
0
votes
0answers
35 views

How to compare previous and next value of multiline textbox in event receiver?

I have attached event receiver on update to my list. I'm not changing value of multiline textbox... so it is same before and after update... when i comparing previous value(before updation) and next ...
0
votes
0answers
106 views

Set Record Declaration Settings programmatically

I created a feature receiver whereby on activation will activate and set certain features and its properties. One of that feature is InPlaceRecords. Below is my code in the FeatureActivated method:- ...
0
votes
0answers
169 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
0answers
71 views

CAML Queries in event Receivers

How Can I grup by day elements, and add them only when I find out is sum of dates in one day don't higher then some of values, and if they are good add a elements, or if they aren't good dont add ...
0
votes
0answers
47 views

How to delete in Event Receiver when I have got two lists

In Items Adding Event I write on field item ID by (ID + 1), and then I gets a current one which are now adding. And then i must delete like in delete cascade all elements in corelate secound list. In ...
0
votes
0answers
86 views

Library ItemUpdating properties.afterproperties[“Name”] does not change

In a library with versioning settings enabled, I have a challenges with handling changes in specific properties. So what is the fuzz wiht "Name" and "Title" in ItemUpdating, ...
0
votes
0answers
116 views

Variable get & set in ItemUpdating & ItemUpdated Event Receiver

I just want to know is there any way we can set the variable in ItemUpdating Event Receiver & get that value in ItemUpdated Event Receiver... like even in session we might not do except we store ...
0
votes
0answers
337 views

Event manager error: Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I'm receiving the following error in my ULS logs when I try to create a new website in a migrated content database. Event manager error: Could not load file or assembly 'xNamex, Version=3.0.0.0, ...
0
votes
0answers
66 views

Changing items after submit via an Event Receiver

I would like to set up an itemadding and itemupdating event receiver such that it automatically populates some values on submit and then gives the user the opportunity to change those values. ...
0
votes
0answers
151 views

SharePoint 2010 Event Receiver to Copy Documents to SharePoint Online

I need to write an event receiver that will copy documents added on a local SharePoint library to a SharePoint Online (office 365) library. I have added a service reference to the copy web service ...
0
votes
0answers
114 views

“Wrapper” List Template for use with Site-scoped Event Receivers?

I am building a SharePoint solution that will allow for the dynamic provisioning of sub-sites off of a root site in a site collection. Each sub-site has a set of lists (built from discussion list ...
0
votes
0answers
47 views

Deactivate web staplee features on deactivation of farm stapler feature

i have a farm level stapler feature that activates themeing feature(web-scoped) on every new instance of web. I wanna be able to deactivate all the themeing feature on all the new sites created if I ...
0
votes
0answers
333 views

Failed to retrieve the list schema after creating splist in Feature EventReceiver

I created Sharepoint List programmatically in FeatureActivated EventReceiver. When i try to open "Content Management"(_layouts/sitemanager.aspx) page I get error. There is log: 08/16/2012 ...
0
votes
0answers
567 views

Unable to debug in an event receiver sharepoint 2010

When i debug in the event reciever(item adding) as soon as it reached the if condition i get the following error unable to automatically step into the server.The remote procedure could not be ...

1 2