Questions tagged [item-updating]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
216 views

ItemUpdating remote event reciever is not firing

I am following the steps mentioned in this link to create a Remote Event Receiver inside our SharePoint online site collection @ https://www.enjoysharepoint.com/create-remote-event-receiver-sharepoint-...
John John's user avatar
0 votes
1 answer
213 views

Unable to get the current item properties inside my Remote Event Receiver. I got the After and Before only

I have the following code inside my remote event receiver: public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { var currenttitle = properties....
John John's user avatar
2 votes
0 answers
248 views

Remote Event Receiver on ItemAdding triggered but not updating folder columns

I have a remote event receiver attached to a Document Library. The er is attached to ItemAdding and ItemUpdating. The same code runs on both events to update values in several columns based on the URL ...
Andrew Kennel's user avatar
1 vote
0 answers
31 views

POSH created Items and BusinessData fields not displaying additional ECT fields

I have a POSH script that create items on a list that pulls additional field data from a BCS source. The function is as follows. Function Add-SPItems($TargetingDetails) { $site = New-Object ...
Trey Nuckolls's user avatar
0 votes
1 answer
327 views

Remote Event Receiver Error Message Displayed on New Page

In SharePoint Online, I have a remote event receiver returning an error message for an ItemUpdating event on two different sites in two different site collections. In one site, the error message is ...
Rob P's user avatar
  • 33
0 votes
1 answer
18 views

Update Logic Causes WF to Cancel

For testing purposes I created a VERY simple WF due to the error I'm getting. I have a Designer 2013 List WF that Runs on the Checked Items List shown below: The logic is that it will create an item ...
Nina G's user avatar
  • 935
0 votes
1 answer
149 views

Update SP List Item Drop-Down for one item

I have this code that I always use to query and display items, but I need to perform occasional updates as well and tried this code. It wouldn't update or recognize the word update. I tried a number ...
Richard Przybylski's user avatar
2 votes
1 answer
120 views

ItemUpdating event receiver method yielding COMException in MOSS 2007

I implemented an event receiver and attached it to a MOSS 2007 document library. I overrode the synchronous itemUpdating method and perform some validation before letting the update operation proceed. ...
Web User's user avatar
  • 229
4 votes
1 answer
653 views

ItemUpdated event not firing when list item updated from another event receiver

I have two lists List1 and List2. I have written code to update List2 item from ItemUpdating event of List1. This should fire ItemUpdated event of List2 but it does not. Below is the code I used to ...
Ashish's user avatar
  • 401
0 votes
0 answers
110 views

Rename Folder in ItemUpdating

I just wanted to rename an item of a custom content type based on the default folder content type while it is being created. My idea was to do it in ItemUpdating event due to other operations I am ...
Husen's user avatar
  • 55
0 votes
1 answer
46 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 ...
motionpotion's user avatar
  • 2,227
1 vote
2 answers
871 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 ...
motionpotion's user avatar
  • 2,227
2 votes
1 answer
1k 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 ...
motionpotion's user avatar
  • 2,227
1 vote
1 answer
1k 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 ...
JulianoG's user avatar
  • 161
1 vote
2 answers
7k 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 ...
variable's user avatar
  • 4,456
2 votes
1 answer
191 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 ...
user32081's user avatar
1 vote
1 answer
515 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 ...
user1898765's user avatar
0 votes
1 answer
3k 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 ...
Ola's user avatar
  • 4,395
2 votes
2 answers
1k 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 ...
ANP's user avatar
  • 343
1 vote
2 answers
298 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 ...
Shkipper's user avatar
  • 2,103
1 vote
2 answers
2k 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 ...
Imir Hoxha's user avatar
  • 1,905
1 vote
1 answer
2k 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 ...
user16023's user avatar
  • 101
0 votes
5 answers
3k 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 ...
Eugene's user avatar
  • 421
0 votes
3 answers
332 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 ...
Shkipper's user avatar
  • 2,103