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
288 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
114 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
160 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
10 views

Is it possible to call Event Receiver by anonymous user in sandbox solution

How can we call Event Receiver by anonymous user in sandbox solution. I want to call Event Receiver when item is added in list. And item will be added by anonymous user. Is it possible? Thanks
0
votes
0answers
25 views

Sometimes EventReceivers does not fire

I encountered weird error and can't find even idea how to solve this. There are EventReceiver, ItemAdded/ItemUpdated attached to document library. Maybe 1 time in ~20 new documents/updates it does ...
0
votes
0answers
18 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
28 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 ...
0
votes
0answers
24 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
21 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
8 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
0answers
20 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 ...
0
votes
0answers
24 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
18 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
71 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
0answers
33 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
0answers
115 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 ...
0
votes
0answers
40 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
0answers
35 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 ...
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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
9 views

Eventhandler status? 2013

I am attempting to check during an itemUpdating event receiver if the event was cancelled for any reason (did the user put in a document name that wasn't unique?) and I am looking through the ...
0
votes
0answers
29 views

Multiple EventReceiver for custom list firing same time

I created a multiple event receiver under single solution. Each bind to specific custom list using Elements.ListUrl. All three event receiver target a single custom list to perform item insert with ...
0
votes
0answers
7 views

globalnavigation not taking effect in webprovisioned

I have set to inherit the top navigation from parent site, but it does not take effect until I go to site settings\navigation and I simply click ok then it is set without modifying any options as top ...
0
votes
0answers
12 views

Publishing page javascript events

I want to do some manipulations with page content when it's loaded in edit mode. For this purpose I have registered an event handler as follows: Sys.WebForms.PageRequestManager.getInstance()....
0
votes
0answers
19 views

Restore viewstate while cancelling request

I have a SPItemEventReceiver with custom ItemAdding handler. When any exception occurs (frequently it's just a model validation) it handles this exception in Handle method. Now it looks like this: ...
0
votes
0answers
32 views

Feature with an listinstance and eventreceiver to modify version settings, order issue?

I created in vs an listinstance. I add this list instance to a feature. In this feature I created a feature event receiver to modify the version settings. I see now when the feature event receiver is ...
0
votes
0answers
73 views

Create a list in the root web when site collection has been created

I have a site definition for creating a Site Collection. I need to develop a code (Event receiver, Feature Receiver and etc) to create a list in the root web of my site collection when it has been ...
0
votes
0answers
43 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
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. ...
0
votes
0answers
21 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?
0
votes
0answers
23 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
279 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
0answers
40 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
0answers
65 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
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
0answers
184 views

Renaming a file with ItemAdded Event Receiver

I am using an Event Receiver to rename a file in a document library. For some reason this doesn't seem to work. public class EventReceiver1 : SPItemEventReceiver { /// <summary> /// An ...
0
votes
0answers
133 views

Time zone shift problem for dates in AfterProperties of list item event receiver for events from Outlook

I need to analyze the "EndDate" of events inside SharePoint 2013 standard calendar items from a list item event receiver and cancel some modifications based on time of this date. I have this code for ...
0
votes
0answers
54 views

Change masterpage of a sub-site automatically, for multiple site collections

I am working in an environment which has more than 1000 site collections. My requirement is that when I create a new subsite in any of the site collection, it should automatically inherit masterpage ...
0
votes
0answers
248 views

BeforeProperties and AfterProperties to check Folder name changed

What field do I need in an ItemUpdating event receiver to check whether a folder's name was changed? I have tried: var before1 = properties.BeforeProperties["Name"]; var after1 = ...
0
votes
0answers
28 views

Sharepoint event reciever is working in one document library but not in another

I have two document libraries, when I add an item the event receiver item added fires for one document library , but it does not for the other. Event receiver class. public override void ItemAdding(...
0
votes
0answers
23 views

Update list B when an update occurs in list A using event receiver

I have a Last A as Master list and List B as Slave List. Slave list is kind of back up list for List A. Whenever we add item to List A, the same item is added to List B, I achieved this action by ...
0
votes
0answers
368 views

How to register a webhook, for REST document library events (java web mvc)

How to register a webhook, so that i can get the REST document library events delivered to my server (provider-hosted) app
0
votes
0answers
80 views

sharepoint alert filter not working on first alert only then filtering is ok

have a strange behaviour with alerts on my sharepoint site. I have a document library where i want to add alerts to specific users when adding,updating,deleting folders or documents. Alerts must not ...
0
votes
0answers
136 views

List item event receiver firing when list is modified

If I have an event receiver that handles the item added event, it fires whenever the list is modified. While debugging the event we see that it is firing over a non-existim item (properties.ListItem ...
0
votes
0answers
149 views

why file.move fires itemadded event in an event receiver and creates a new file if I click on save button two times?

I have an event receiver where I change the name of the file,it works right but If I click two times the record button (this is used in an infopath form) a new item is created and an itemAdded event ...
0
votes
0answers
18 views

Feature deactivation error

I have a chain of features that are connected with a master feature. So when I activate, deactivate master feature on the farm, others get activated sequentially. Now this is giving an error with a ...
0
votes
0answers
730 views

Event Receiver not firing when item is published/approved

I have the below code for a custom event receiver to fire when an item is either updating, updated and checked in. But when the item is published to a major version and the approval status changes to ...
0
votes
0answers
754 views

ItemUpdated Event Receiver firing twice

I am having problems with an Event Receiver made to target Picture Libraries (ListTemplateId="109" in Elements.xml). I have tried to follow the advice I have found online to no avail. Check out is ...
0
votes
0answers
261 views

SPD13 Workflow - Only site admin can start it

I've put together a mildly complex workflow that is supposed to be able to be started by the average user making a change to a list item. However, my admin account seems to be the only one that can ...