Questions tagged [event-receiver]
140 questions
0
votes
2 answers
Receiver ListUrl is not working in Event Receivers for particular list?
I trying to debug EventReceiver is not working. It use to work properly. Only thing I changed is added Intraner AAM.
http:// spfoundation/dept/it/Lists/App%20Change%20Request/AllItems.aspx
Above url is the default AAM and list url.

James123
- 11,184
- 66
- 189
- 343
0
votes
1 answer
Problem with event receiver in visual studio 2010
I am trying to figure out how to get the title of a list item from the base.ItemAdding(properties);
I know it's somewhere in properties, because what I want to do is copy the item that was just added to another list, meaning that the same item will…

user208628
- 13
- 1
- 4
0
votes
0 answers
Event Receiver - How to update fields from List A based on List B
I'm new to Event Receivers and I never have done one. Here is my situation, I have 2 lists. First list contains fields: Software Name, Quantity, Used, Available, and COUNT [Software Name: (Count Related)] from second list. Second list contains…

FGomez
- 1
0
votes
0 answers
sharepoint eventreceiver and alert filter not working
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 be triggered for a specific user.
ItemReceiver :
…

wallou
- 529
- 1
- 4
- 21
0
votes
1 answer
How do you filter and replace list items in sharepoints using event receivers?
I have 2 SharePoint lists in my site collection: One "Comments" list and one "Filter" list. I'd like to filter and replace items in the comments list using the items from the filter list.. for example, one item in the comments list is about to be…

Kelvin dela Cruz
- 1
- 1
0
votes
1 answer
Getting the email message (.eml) as an attachment to SharePoint ListItem
I have an SPEmailEventReceiver that receives an email message, adds a listitem to the list, loops through the email message attachments collection and adds them to the listitem attachment collection.
I also need to get the email message itself (.eml…

Life is good
- 398
- 1
- 17
0
votes
1 answer
Visual Studio: Develop SharePoint Event Receivers without Admin rights or SharePoint Server
Main issue: I need to develop an automated way to create new SharePoint pages when an item is added to a SharePoint list. For example, we have a list of projects, and when a new project is added to the list, we want a custom website for that…

greenbellpepper
- 412
- 2
- 7
- 14
0
votes
2 answers
How to attach an Event Receiver to a List/Document Library on Production server?
I have created/bound an Event Receiver to a document library in Share Point 2010 to read the content of an excel file and load a list from the content.
Everything works well in development, I don't have access to the production servers so I logged a…

foo-baar
- 1,076
- 3
- 17
- 42
0
votes
1 answer
ItemUpdating event on DocumentSet
[;]
We have a document-set the event receiver is attached to the ContentType (for Document-Set), the idea is when a new site is created document-Set is created as part of provisioning and the event is attached to the it. We tried attaching…

user2726996
- 1
- 1
0
votes
1 answer
SharePoint async event receiver method call behaviour
In task list item added event i have two methods as below
method1() // execution time : 3 seconds
method2() // execution time : 2 seconds
here before completing the method1() executing it automatically moving to the method2() and its started…

Ayyappan Anbalagan
- 11,022
- 17
- 64
- 94
0
votes
1 answer
Event Receiver breaks Feature
I have a SharePoint project with Event Receivers in it and the solution deploys fine as long as I leave out one specific Event Receiver off the list.
If I add that Event Receiver to the Feature list I get the following error:
‘Error occurred in…

user3074761
- 11
- 5
0
votes
1 answer
How do you attach an SPEmailEventReceiver to a doc library?
What are my options for attaching an SPEmailEventReceiver to a document library? Should the Elements file contain the specific library?
…

Colbs
- 587
- 10
- 25
0
votes
2 answers
SPItemEventReceiver Context SiteId/WebUrl Incorrect
I have created a SharePoint Event Receiver, that fires on Item Update.
The receiver needs access AfterProperties and ListItem.
When firing the event receiver from a SharePoint web application using an IP address (http://10.0.4.50/sites/), it throws…

Elijah Glover
- 1,968
- 2
- 14
- 21
0
votes
1 answer
Event Receiver issue with updating Splistitem fields
I have a problem with updating Splistitem fields only when i save as via Office Word a document to Sharepoint
in my Event receiver.
it's works when i add the document from Sharepoint.
here is my Code :
public override void…

souf
- 11
- 1
0
votes
2 answers
Sharepoint 2013 Server Object Model. Copy permissions from one site to another during site creation
I want to copy the permissions from Site Collection A to a Site I am creating in Site Collection B in the same Web App. This is happening in a List Item Event Receiver on ItemAdded.
Here is what I have so far...
static void…

calorie712
- 348
- 4
- 14