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

Features in Sharepoint 2010

I created an empty Project and used the default Feature1 thats created with the project to then create the following: public override void FeatureActivated(SPFeatureReceiverProperties properties) ...
0
votes
1answer
58 views

SharePoint 2010 create SPWeb object in synchronous and in asynchronous events

Is there any difference in creating SPWeb objects in synchronous and in asynchronous events? A far as I know in both cases it will be using (SPSite site = new SPSite("http://.........")) { using ...
0
votes
1answer
64 views

Event Receiver Update

I have a complex situation that I was wondering if you guys have an idea on how to do: I have 2 lists, the parent list (CRDB) and child list(ReleaseDB). The parent list can have one or many child. ...
0
votes
1answer
48 views

xmldocument & receiver on sharepoint

I'm developing on sharepoint since few months, and I begin to understand the structure of Sharepoint. However, there is some things I don't understand. For example, I don't understand how work the ...
0
votes
1answer
607 views

redirect to page after itemadding in list withlong run operation

after many checking about redirecting to page from event recievers I understood that my best option it to di it from itemadding event and not itemadded. that does not means that I can neglect the ...
0
votes
1answer
47 views

Changed event content type at parent now existing calendar lists content types are _hidden

I am new to SharePoint and I changed the event content type at the parent level. Now existing calendars list content types groups are _Hidden. The calendars also do not work now. Is there a way to re ...
0
votes
0answers
161 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
1answer
73 views

Remove entries from dbo.EventReceivers

Can I safely remove Entries in dbo.EventReceivers ? The Problem is that when i'm deploying a Solution i get on the Feature Activation many Errors in the SharePoint Logs like: ...
0
votes
1answer
117 views

Populating list columns when an event is fired in SharePoint 2010

I have created a SharePoint2010 list with 20 columns. which has 2 key columns cid and tid of the user. There is an application, whenever it is initiated a new row is created in the Sharepoint list ...
0
votes
0answers
123 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
1answer
177 views

Custom Event Reciever For Document Library(sharepoint 2010)

I have a month column which is a choice column in my document library in the format specified below.. For eg. Jan 2013 I have the following requirements 1. The month dropdown should always have only ...
0
votes
3answers
201 views

Event Receiver when document body/content is updated

What event receiver is triggered when the content of an existing Word document is updated/changed? ItemUpdated works when the properties on the document are updated (e.g. changing a content type ...
0
votes
1answer
149 views

Do event receivers have a file handling limit?

I created an event receiver inheriting from SPItemEventReceiver for document libraries that moves files to specific folders and changes some metadata columns that I've added to them. I created a ...
0
votes
0answers
440 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
1answer
47 views

Connecting infopath with the data from the list

When I creating a infopath conected with list in creator from Microsoft InfoPath Designer the bookmark which called developer is hinding, and I can't editing or writing any of code. How could I ...
0
votes
1answer
91 views

How Could I edit InfoPath in Visual Studio

If I add infoPath from Infopath Designer its blocked me all the Modal Dialog fired from Event Receiver. I want to edit InfoPath form to don't block My Sharepoint Modal Dialog. Now no one dialog boxed ...
0
votes
1answer
290 views

Sharepoint modal popup don't shown when the Infopath form are on the site

I tried to add Infopath form on my project, but when I add the Infopath form some of PopUp which are corelated with Infopath and shows errors od data didn't shown What should I do to shown A Modal ...
0
votes
1answer
304 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
1answer
75 views

Userfeedback after file was uploaded to library

I need to print out a feedback after a file was uploaded to a DocLib. I tried several things over the event receiver (add statusbar as a control or a clientscript) but everything faild. I´m a bit ...
0
votes
1answer
518 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
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
85 views

How to create ConfigurationList in SharePoint site for EventReceiver?

I want to create ConfigurationList which should store/display information like, with 2 columns(Title & Value). For Example: ContentTypes: 101;107 Event Types: Add;Update;Delete Location: ...
0
votes
2answers
470 views

Add WebPart to publishing page in Synchronous ItemAdded Event Receiver

I'm trying to add a webpart to a publishing page after the page is created, so I've created an Event Receiver, the problem is, if I make the Event Receiver Synchronous (As it should be) the code ...
0
votes
1answer
27 views

Is it posible to create a EventReceiver for opening a site?

I want to start an EventReceiver when a site or a list opens. How can I do this? Is this possible?
0
votes
0answers
872 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
2answers
228 views

AfterProperties and BeforeProperties in managedmetadata fields returns different strings depending on language

I have a managed metadata column in a list. With values in English: Brussel in french: Bruxelles. I need to compare in the ItemUpdating event the before and after properties. I know that the before ...
0
votes
0answers
83 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
1answer
310 views

What is the SPListTemplateType or SPListTemplateId or ListUrl of ACL of an item?

What is the SPListTemplateType or SPListTemplateId or ListUrl of the list that appears when clicking on the item permission button on the edit control block or the button on the ribbon of any item ...
0
votes
1answer
1k views

ItemAdded event running with user permissions (SharePoint 2010)

My understanding is/was that by default asynchronous event receivers ran under system permissions, while synchronous event receivers run under user permissions -- and that ItemAdding is synchronous, ...
0
votes
1answer
376 views

Event Receiver Item Added for Multiple Files uploaded

I am trying to add few details for a item that is added to a list to SQL database table using a stored procedure, it works perfectly but when I upload multiple files it adds all of the items into the ...
0
votes
2answers
201 views

How do I pass value to list event receiver?

I have a document library that have a column named "Region", after some user uploads a doc to the library, I want to update this column based on this user's region property. for example, if this ...
0
votes
1answer
673 views

Stop EditForm.aspx redirecting to deleted list item

Scenario: Adding a document to document library, then copying it to another doc lib and then deleting it using the ItemUpdated event receiver. Problem: The popup window (EditForm.aspx) usually closes ...
0
votes
1answer
718 views

updating an item in itemupdating on the same list and on the same item

in item updating event of list, i want to update the same item which being updating but i don't want to change and update the fields of the item but the permissions of it. so i can't use ...
0
votes
0answers
857 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 ...
0
votes
2answers
701 views

Sandbox Event Receiver Not Working on SharePoint Online

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 ...
0
votes
2answers
193 views

Can we find out in Event Receiver group Users like in a CS file

In CS file I used this code and it's worked: SPWeb site = SPContext.Current.Web; int managerGroup = site.Groups["Właściciele witryny Main"].ID; if ...