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
0answers
63 views

Convert document to pdf using event receiver in SharePoint 2010 not working

I followed steps on this link to convert a word document being added to pdf format using a custom event receiver. I was able to attach the receiver and trigger the code written but somehow the ...
1
vote
1answer
26 views

Copy a file content using event receivers?

I want to know if there is any way by which I can make a copy of the file which is being added to a document library using c# event receiver and further convert it to pdf in SharePoint 2010 ? i.e If ...
0
votes
0answers
32 views

Add metadata to all files at any level under the root folder/

I have a requirement where i need to add a metadata to all the files automatically when a folder having files at multilevel inside this folder(basically there are folders inside folders and files will ...
0
votes
1answer
73 views

Email sent to document library, event reciever not triggering for them

I have a scenario wherein I have a folder structure where I need to move a file from root folder to that folder structure inside same document library. The catch here is I need to do this by using an ...
0
votes
0answers
15 views

getting image of the first slide as a column value in Sharepoint 2010

I am a dotnet developer, completly new to share point dev. I am Using Sharepoint 2010 and VS 2010 -> My requirement is to show the thumbnail image of first slide of the presentaion the user is load. ...
2
votes
2answers
57 views

Where can I see attached custom event receivers?

I'm completely new to the SharePoint world and I've inherited our SharePoint (or at least the development side of it). Most of my trouble at the moment stems from finding things. This project has ...
0
votes
0answers
16 views

How to detect in a reliable way when a user is added or removed for sharing purposes?

Are event receivers the way to go for a reliable solution in SharePoint Online to detect if a user or file has been marked for sharing or unmarked?
1
vote
1answer
27 views

sync 2 lists between different farms with event receiver

I have to sync 2 same lists between 2 different farms . The original list is located in a SP 2007 farm and the destination is located in a SP 2013 farm. I have already an event receiver in SP 2007 ...
0
votes
1answer
106 views

ItemUpdated event receiver not trigger when item update from workflow in sandbox solution

Itemupdated Event Receiver not triggered when item update from workflow I have created workflow on document library which simply update single column. And i have also create ItemUpdated event ...
0
votes
1answer
58 views

Customize document library EditForm.aspx to display Error/Exception

I am writing an ItemUpdating event receiver for a document library in MOSS 2007 (yes, I am still on that version!) and need to bake in some validation. If the validation fails or if an exception is ...
1
vote
1answer
35 views

Detecting change in users/groups on web

I want to execute some code when the users/groups with access to a web changes (addition and removal of users/groups). What are my options?
0
votes
1answer
38 views

Why can I not call a public method in my Web Part (User Control) from an Event Receiver?

I've added this Event Receiver (based on what I found here): using System; using System.Security.Permissions; using Microsoft.SharePoint; using Microsoft.SharePoint.Security; using ...
0
votes
0answers
21 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
112 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
51 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
2answers
111 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.
1
vote
1answer
47 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
62 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 ...
2
votes
1answer
91 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 ...
2
votes
1answer
112 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
0answers
36 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
30 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
34 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
3answers
38 views

Associating Event Receiver with Multiple Lists

How can I add single event receiver to multiple Lists?
0
votes
1answer
115 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
1answer
1k 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 ...
0
votes
1answer
34 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
37 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 ...
1
vote
0answers
20 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
34 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
0answers
16 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 ...
0
votes
1answer
196 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
2answers
169 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 ...
2
votes
0answers
44 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
60 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 ...
1
vote
1answer
421 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
27 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
0answers
109 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
52 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
48 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
21 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
44 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 ...
0
votes
1answer
66 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
138 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"?> ...
0
votes
0answers
20 views

Issue in production environment using EventReceiver with HttpRunTime

I am using below code in my EventReceiver using-HttpRunTime.Cache-and this code works in my dev.environment and my test environment.But this code fails in my production environment where i am having ...
3
votes
1answer
157 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
123 views

Default SPEmailEventReceiver: Object reference not set to an instance of an object

I'm trying to write a new Email Event Receiver for an email-enabled document library. When my feature is disabled, email is delivered successfully to the library. When my feature is enabled, this ...
0
votes
0answers
42 views

AfterProperties and BeforeProperties of Site Column returns Null in ItemUpdating Event Receiver

I am getting the AfterProperties and BeforeProperties of a people picker column for my document library as NULL within ItemUpdating method. My site column name is Read Access.and in my document ...
0
votes
1answer
74 views

Get the BeforeProperties and AfterProperties in ItemCheckedIn

I am currently trying to develop an event receiver that uses properties.AfterProperties object in updating and ItemUpdated and ItemUpdating event, so can I get the BeforeProperties and AfterProperties ...
0
votes
0answers
12 views

Renaming a file with Event Receiver [duplicate]

I need to rename a file in a document library with an event receiver, so that the URL will not have %20's. Basically the File name or File path needs to be stripped of spaces. The problem I'm having ...