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

1
vote
2answers
19 views

Sharepoint Item Changed or Event Receiver

I have a requirement where certain actions take place after status change.Status list contains 10 items.Which will be the best and efficient way to implement if loop in SharePoint designer workflow(...
0
votes
0answers
12 views

SP2010 Foundation Error Event ID 6875 !! An item with the same key has already been added

I've been trying to figure out this error that keeps coming up on my SP2010 Foundation server event viewer 6875: Error loading and running event receiver Microsoft.ReportingServices.SharePoint....
0
votes
0answers
24 views

How to Create Folder with permission while feature activation?

I have created feature with event receiver.When the feature is activated one folder should be created in this path (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15) when i was ...
1
vote
1answer
19 views

Task locking Event Receiver Execution

I have an event receiver that creates 2 tasks. The task should be created immediately on ItemAdded but there is a delay for some reason. The first task is created immeditately as expected but then ...
0
votes
2answers
52 views

SP2013: Already attached EventReceiver not firing

I want to programmatically add an EventReceiver to some lists. I have a signed assembly named Customer.Services.Sharepoint where my TestSPItemEventReceiver resides. For debug purpose, it only shows a ...
0
votes
0answers
20 views

Multiline text field content is missing in display form

I have created ItemAdded event. It will add multiple users in users and group column of custom list. After complete this event, when i open display form, multiline text column value is missing. ...
0
votes
0answers
18 views

Event Receiver causing issue for Designer Workflows

Below is my scenario and I need some assistance as to how to create a workaround. I have a site called Framework. The client has an Event Receiver that sets unique Item Level Permissions. How it ...
0
votes
0answers
7 views

Unable to access a list while website provision in SP2013

In WebProvisioned event receiver i was able to set the web.EnableMinimalDownload = false But I am not able to access the list PList AssetLibraryList = web.Lists["SiteAssets"]; Is it feasible ...
0
votes
1answer
31 views

Assign permissions to folder in document library from person lookup - SharePoint 2010

Let me first preface by saying that I am new to programming with the SharePoint Object Model... I have a requirement where after a list item is created, which indicates 2 individuals in a person ...
0
votes
1answer
35 views

SharePoint document library event receiver and WebPart showing items from document library

Preface: I am trying to develop a wWebPart for displaying items from a document library and let users modify each items metadata. When user updates any documents metadata it will raise an event ...
1
vote
0answers
18 views

Rename attachment of InfoPath through Event Receiver for Office365

I am having a Document Library named TestForm in my Office365 site.I have created InfoPath Form for that library that contains FileAttachment control. Now my requirement is to rename the attachment ...
1
vote
5answers
47 views

Break the permission and assign new ones in itemadding event

I am trying to break the inheritance of the current item and assign the new ones . I tried it using ItemAdded and it worked but the problem was it was taking time to assign the new permissions to the ...
0
votes
0answers
19 views

Error : WebProvisioned method in Sandbox solution

I want the Url and Title of newly created site in WebProvisioned(SPWebEventProperties properties) method in sandboxed solution. But I am getting an error Object Reference is not set to an ...
1
vote
1answer
28 views

Redirect search from My site to Intranet

We are using SP 2013 on-prem. We have an Intranet and a MySite. When searching from MySite, I want the search to redirect to the search center at Intranet so the search results can be displayed at a ...
0
votes
1answer
9 views

File Path of Old Version of DLL Error Message

I am working on an Event Receiver and recently after doing a deployment to the farm. My Event Receiver just starts outputting a message to my log list that is the file path of the old version of my ...
1
vote
2answers
24 views

Event Receiver SharePoint list- Is there something like properties.AfterProperties to use for text coulmns?

I tried using properties.AfterProperties in event receiver that I am using for sending updates in SharePoint list to specific e-mail addresses. So far I found that it's working well with yes/no ...
0
votes
0answers
23 views

Event Receiver attached to a blog post list is not fired

I've created an event receiver for a blog post. Unfortunately it's not fired. What I've noticed is: ItemAdded is not executed ItemAdded is executed for a custom list but not for my post list. My ...
0
votes
0answers
16 views

Security exception when trying to use JavaScriptSerializer

I am trying to use the JavaScriptSerializer class in an event receiver which is part of a sandbox solution. When trying to use the class, I get a System.MethodAccessException with the following ...
1
vote
0answers
29 views

EventFiringEnabled will it affect all list and all webapplications?

We are using Event-receivers in SharePoint 2013. Whenever we are updating an item in a list event-receiver, the receiver will be triggered again and again. To avoid this we are using this....
0
votes
1answer
48 views

Console application triggering event receiver

I have console application collecting data from SQL and either creates or updates the item in a SP list. I have added an event receiver to that list, this triggers if an item has been updated and ...
0
votes
0answers
26 views

Office 365 call site event Receiver but did not work event Receiver

Office 365 Solutions upload then site event Receiver call & Feature activated, did not work Event Receiver.. Below Code And Error Image Code For Site EventReceiver public class ...
1
vote
2answers
38 views

SPWeb.Exists returns true for web don't exists

Below snippet returns true for invalid web URL: using (SPSite site = new SPSite(url)) { using (SPWeb web = site.OpenWeb()) { return web.Exists; } } Web was created and deleted ...
0
votes
0answers
67 views

Event receiver to update attachments in SharePoint calendar list

I'm using event receiver to create/update/delete calendar event from a custom list (this is because of our business process). If I create new item with attachments (from custom list), a new calendar ...
0
votes
1answer
50 views

How to get inline attachments in SPEmailMessage

I tried to build an EmailEventReceiver in SharePoint2013 onpremise to handle Mails to a custom list. It works like expected. But in the UAT I found out, that there could be mailmessages which contain ...
0
votes
0answers
27 views

Loading and running the event receiver class X from assembly Y failed. Could not load file or assembly '3rdParty.dll' or one of its dependencies.

I am trying deploy an event receiver that references a 3rd party dll. I have tried manually deploy the dll to GAC and include it in the Package of the solution to no avail. I keep getting the error ...
0
votes
1answer
30 views

make Event Reciever to complete execution faster in sharepoint list ItemAdded event

In my sharepoint 2013 list , I have an event reciever . This reciever on ItemAdded event breaks the inheritance and grant the permission according to our requirement to the users on that site. So when ...
0
votes
0answers
78 views

Unable to update/access the field ItemAdded EventReceiver

am using itemadded event receiver to updatea field when end user uplaods a document in the document library. i have associated content types as well with the doc.lib.Now when i am trying to access ...
1
vote
1answer
27 views

Making sure all Updates are finished

I have written a program that writes multiple files into a SharePoint-List using CSOM: foreach (file in myFiles) { UploadFileToSharePoint(file.dataq, context, url+ file.name); } ...
0
votes
1answer
90 views

Process DateTime field value in SharePoint List Edit form

I am working on a Item Update event receiver in a SharePoint document library. One of the fields in this library is a Date and Time (Date only format) field. When a user selects a date and clicks on ...
2
votes
1answer
40 views

Breaking Item Item level permission under SPSecurity.RunWithElevatedPrivileges

In my event receiver, I am trying to break item permission. Following is my code. SPSecurity.RunWithElevatedPrivileges(delegate() { if (properties.List.Title == "Validation Draft") { if (...
0
votes
1answer
30 views

Should I use CSOM in event receivers?

As far as I have worked with them, event receivers come with a properties object through which you could directly get the SPWeb and SPList objects. However, if I used CSOM instead and implemented my ...
3
votes
3answers
179 views

When to use Server side event receivers Versus using Remote event receivers?

I read a long article about two types of event receivers inside SharePoint server 2013:- Server side event receivers (available inside SP 2013 & SP 2010) Remote event receivers(available inside ...
0
votes
0answers
29 views

Inline error messages with DataFormWebPart

We are using custom new, edit and display forms to have controll over the layout of the fields and need to do a few checks of user inputs on the new and edit form. To check inputs we use event ...
0
votes
1answer
28 views

CreateLabel throws “insufficient permissions” error but CreateTerm does not

I have an event receiver attached to a list in SharePoint 2010. It is a solution built in C# in Visual Studio 2012. By adding items to the list from the browser, the user can add new Managed Metadata ...
0
votes
2answers
43 views

RWEP in Event Receiver Item Added

Any idea why the follow code is not working in item added? Error: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. The code: SPSite site = new ...
0
votes
1answer
19 views

Event on: Create Document Library

After the creation of a Document Library I need to execute some things, like: add a Content Type add a Workflow to the library may be other stuff These things should be executed automatically. I ...
0
votes
2answers
119 views

ItemUpdated event not firing on Document Library

I am programmatically trying to update an item in Document library. And I have an Event Receiver on Document library on ItemUpdated event. But somehow it is not firing. Below is my code: using (...
0
votes
1answer
32 views

Event Handler - Unauthorised access error

So, on my ItemAdded receiver, I am looking to update a list item field. Now, if the user adding the item to the list, has sufficient permissions/privileges, this all runs smoothly. If not, the code ...
0
votes
0answers
29 views

Event Receiver not firing because of content of “Mulitple lines of text” field

I have a list item for which my Item-Updated Event Receiver won't fire. It has one multi-line-text column, which contains a text with following properties: type: Enhanced rich text (Rich text ...
1
vote
1answer
52 views

Unable to get user field value on AfterProperties EventReceiver

I am not able to get user field on AfterProperties in EventReceiver. I am using ItemUpdating event as I want to compare old value and new value. But I am getting error while fetching user field using ...
2
votes
1answer
54 views

SharePoint 2013 - Set regional settings for subsite - Web Event Receiver

We are trying to set Regional Settings for new subsite in WebProvisioned event. Scenario is, we have two Variations site created, one for English and second for Arabic. We need to set Regional ...
1
vote
0answers
19 views

Event Receiver deploying to multiple form libreries

I have three infopath form libreries: lib-2015, lib-2015,lib-2016. I inherited an event receiver that has been deployed to 2014, 2015 library, now I am trying to deploy it to 2016 library. Changing ...
1
vote
2answers
85 views

Approval with Event Receiver

Is it possible to do an approval with event receiver? I tried to do this with sharepoint designer but when I put a lot of file (more than 200) on approbation, my workflow crash randomly. So I want to ...
0
votes
0answers
20 views

Why alert Events trigger twice

I have a custom Alert dll that send custom email messages. But everytime the alert event triggers, it does twice and send two Mail message. Another strange problem is that, often the runtime jump some ...
2
votes
2answers
59 views

Error with site collection daily resource usage quota

Recently I've added an event receiver to a sandbox feature, but since I added it, whenever I try to deploy the feature, I always get the message Error occurred in deployment step 'Add Solution': ...
1
vote
1answer
31 views

Custom Alert does not trigger

Has anyone successfully implemented IAlertUpdateHandler on SP 2010? When I try to add a new alert on a document Library following this tutorial, everithing seems to be fine. But when I try to insert ...
0
votes
1answer
17 views

SPOnline: Sandox event receiver inconsistent behavior

I have following 3 components: Provider hosted App having full control on web and using App only permissions (App) List-A: This custom list has a sandbox event receiver on item creation. App creates ...
0
votes
1answer
18 views

List Subcription EventHandler

I'm trying to built a custom code that should run on Subscription event. As we know, When people Subscribe to a Sp List, you receive a Mail Message on your Box. I Should intercept that Event. I've ...
0
votes
0answers
23 views

incoming emails are stuck in the drop folder

I created one incoming email event receiver in SharePoint 2013 to send the emails to a list. It works fine in the development server but in the testing server it doesn't. The emails are stuck at the ...