2
votes
2answers
405 views

Event Receiver not triggered by Approval Workflow

I have a simple workflow that approves a List Item. I have an ItemUpdated Event Receiver that is supposed to compute some fields and update another List Item. My event receiver gets triggered when I ...
1
vote
2answers
1k views

Unable to update item using powershell when event reciever is enabled

I have a powershell script that I am using to update some list items programatically. It seems to work as I expected when I disable the event reciever that is associated with the list however when I ...
0
votes
2answers
713 views

How to update calendar item created by an other list?

Appreciate any thoughts on this: A user edits an existing list item to pick a date to select a project deadline. A custom workflow, initiated by that item change, takes that date and project title ...
1
vote
1answer
201 views

How do I get the current Editor of an Listitem while ItemUpdating?

How can I get the current Editor of an list Item in SharePoint 2010 during ItemUpdating? Problem is properties.AfterProperties["Editor"].ToString() throws and Exception cause it's null. This ...
1
vote
1answer
167 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
1k 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
164 views

Large update in Event Receiver

I wonder how should I make a large update in Event Receiver by executing it in other thread. Normally it would look like that: public override void ItemUpdating(SPItemEventProperties properties) { ...
1
vote
0answers
855 views

List ItemUpdated Event not firing when updating item from code

I have a problem with my eventreceiver. It is set to fire on updating item from a list, and works very good when I update that item from Sharepoint's web UI. However I have some code that goes through ...
0
votes
1answer
617 views

updating an item in itemupdating on the same list and on the same item

in item updating event of list, i want to update the same item which being updating but i don't want to change and update the fields of the item but the permissions of it. so i can't use ...