Tagged Questions
0
votes
0answers
88 views
Event Receiver update document content on ItemUpdating
I am trying to update a document in the item updating event receiver, but I keep getting the error: "The file IOF/This is a.docx has been modified by ....."
I have the following code in my SP 2013 ...
0
votes
1answer
58 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
1answer
219 views
Cannot associate event receiver with a particular document library
I am trying to develop an Event Receiver for a document library titled Temporary. I have modified the Elements.xml document to look like this:
<?xml version="1.0" encoding="utf-8"?>
...
0
votes
0answers
95 views
ItemUpdating event not firing on folder rename w/ Windows Explorer
I have an Item Updating event receiver that needs to fire when a document library folder is renamed. Everything works perfect when a user renames the folder with the SharePoint UI.
However, if ...
0
votes
1answer
113 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
1answer
105 views
Why Item Updated and Item Added trigger together when we add a item to list (document library)
I have gone through hundred of articles over months but never understood as what could be the reason Item Updated and Item Added trigger together when we upload a item, even though if you try ...
0
votes
1answer
119 views
Move files to a folder using event receiver
Hi I have an Infopath form Library and i want to add the forms that are being submitted to a folder in the same library according to the information
I need to do this using an event receiver.
Can ...
3
votes
1answer
48 views
Document in library: newly created from template OR uploaded?
Can I programmatically detect if a document in a library is uploaded or created with the "new document" button?
When a user uses the "new document" button, my ItemUpdated event receiver doesnt fire, ...
1
vote
0answers
70 views
Email not received in Document Library when Event receiver Added [closed]
Email not received in document library when Email event receiver is added to this library..
1
vote
1answer
33 views
An event to be fired on editing a file
As title says, I need an event to fire when a listitems file has been edited.
I appreciate this isn't as simple as it having it's own event, which is why I've tried to make use of the itemupdating ...
0
votes
1answer
94 views
How to prevent document editing and properties updating
I need to be able to prevent the document in document library to be edited and it's properties updated when the custom document property DocState has a value Reviewed. Should I use document library ...
0
votes
2answers
671 views
New EventReceiver events not firing
I have an event receiver written by someone else. It originally came with events for ItemCheckingIn and ItemCheckedIn, but we needed something to handle simple metadata updates, too. Since those ...
1
vote
1answer
555 views
Unable to attach an SPEmailEventReceiver to my list
I'm trying to link an SPEmailEventReceiver to my document library..
First of all I created the EventReceiver using the Visual Studio 2010 Add -> Event Receiver -> List Email Events -> Document ...
0
votes
1answer
414 views
How to enable an Event Handler to intercept upload from email in document library
I have a Document Library with an email associated with the OOTB feature. When I send to the library an email with some attachments, every attachment is stored with one of the OOTB methods (divided in ...
1
vote
0answers
73 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 ...
0
votes
2answers
306 views
Differentiate in ItemUpdated (ER) if file was edited or overwritted
I've an ItemUpdated Event Receiver, and I need to make different operations depending if the file was updated throw UI or overwritted. Is there any internal field that reflects this 2 different ...
1
vote
1answer
570 views
EventReciever to change permissions
I am trying to create an event reciever on a document library that on creation it removes all permissions and gives the author contribute writes. All other users get nothing.
I have the following
...
0
votes
1answer
444 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 ...
2
votes
2answers
726 views
ItemAdding not firing when “Overwrite existing files” is checked for SharePoint Document library
I need to copy Existing file to A folder("Archive") while another file is uploaded with same file name to the document library.
Ex
I already have a filename "example.txt" in a document library. Now ...
2
votes
2answers
911 views
Move a document from library after adding it
I am using the ItemAdded event to fill in a metadata field.
In the ItemUpdated event (after submitting the file properties diagog) - I want to move the file elsewhere.
However, I get an error saying ...
3
votes
2answers
671 views
One Event Receiver for many lists
I have Event Receiver for document library. It is added in Elements.xml like this:
<Receivers ListTemplateId="101">
I would like to use this ER for all my document libraries. Do I have to ...
