The ItemUpdating event is raised when an item's Update button is clicked or the UpdateItem method is called,

learn more… | top users | synonyms

0
votes
1answer
11 views

Check Child Items When Parent Status Column Is Changed

What is a good strategy to prevent a change on a parent item in a SharePoint 2010 list if a related child item (i.e. the child of the parent) column is set to open? For example, I don't want to allow ...
1
vote
2answers
96 views

Using SPLongOperation Within ItemUpdating Event Receiver

I have an event receiver triggered on ItemUpdating that may take some time to run. The code is as follows: using (SPLongOperation longOperation = new SPLongOperation()) { //Custom Messages on ...
0
votes
1answer
28 views

Manage Multiple ItemUpdating Event Receivers On List

I have a requirement to multiple Event Receivers targeting Custom List (100) that fire on the ItemUpdating method. For one of the Event Receivers the requirement is to check that there are no related ...
0
votes
1answer
123 views

How to get a SPFieldLookupValue from an ItemUpdating- Afterproperties?

I am using ItemUpdating Event for recording changes in List Item. item["RequestType"].ToString().ToUpper() !=properties.AfterProperties["RequestType"].ToString().ToUpper() RequestType field is ...
0
votes
0answers
65 views

ItemUpdating Event Receiver afterproperties

I have two columns. Suppose 1 and 2 is the name of the columns. When the value of columnn 1 is edited, the old value of column 1 should come in the column 2 with the time at which it was updated. I ...
1
vote
2answers
1k views

Handling ItemUpdating event receiver firing more than once

The reason why item-updating event receiver fires twice in case of document libraries is because of check-in/checkout. Also it can fire twice in case of doc library/list if we are updating the ...
1
vote
1answer
68 views

Updating item in List B when item in List A is updated (using workflow)

I have two list (one in List section and second is a document in Library). Both Lists have the same columns. When an item in the Lista A is updated, corresponding item in List B would be updated. How ...
0
votes
1answer
109 views

Value does not fall within the expected range during itemupdating

I've an event receiver and in itemupating i check if i've a value for a lookup field but get an exception. If i look in powershell, the column exist so the first if is ok but he can't test if it's ...
0
votes
1answer
1k views

Try to add a user to a multiple user field in the itemUpdating eventreceiver: The field you are trying to update may be read only

I am using Sharepoint 2013. I have created a custom list. This custom list is using a custom contentype. In this custom contenttype I have a custom column. This column is a people picker. It is ...
2
votes
1answer
486 views

SharePoint event receiver ItemUpdating event behaves differently when a list item is updated through Workflow

I am having a SharePoint custom list which is having a designer workflow and event receiver attached to it. In the event receiver on ItemUpdating event I am having the below code to check if a ...
1
vote
2answers
190 views

ItemAdding in document library

I have an issue with setting the field in item updating event in document library with SharePoint 2007. I have following situation, I have a document library, and when i add a document based on one ...
0
votes
2answers
999 views

Object reference not set to an instance of an object inside Event receiver in Form library

here is the problem. I have a form library that uses Infopath as form. It has an event receiver. This was done by someone else. I was trying to get the beforeProperties, afterProperties or ListItem ...
1
vote
1answer
886 views

Update SQL table using SharePoint Event Receiver while editing a SharePoint list item value

I have a SharePoint list which contains look-up values for visual web part dropdownlist. The records are saved in SQL tables. Now, I want to update all records containing a look-up value in the SQL ...
0
votes
4answers
2k views

Getting ItemUpdating Even Receiver to do the same thing as ItemAdding

I have a library that allows multiple folder content types. I am grouping the folders by content type but I don't want the group heading to say Content Type: whatever. Instead, I created a hidden ...
0
votes
3answers
107 views

On ItemUpdating modify property

I have an issue, with this event. What my purpose is: i want to update one of the properties based on few criterias, so i want do fill a field A if field A is empty and the field B is not empty and ...