sharepoint - Create SPListItem from SPItemEventDataCollection in ItemUpdating event -


In SharePoint 2010, I want to execute some code when a list item is being updated - when the item removed the updating event goes.

What I need is a SPLITItem which includes the old values ​​(before updating) and a new SPILITIT.

I can easily obtain SPITITIM from old values:

  SPItemEventProperties properties; Properties.ListItem;   

But I can not get SPListItem with new values. The only thing I can get is

  SPItemEventProperties properties properties. FPropProTy   

But this gives me a SPListEventDataCollection I would like to convert this SPListEventDataCollection to an SPListItem - is it possible?

Thanks

Updated SPListItem is not yet present in item updating event .

Check.

You want to listen to itemUpdat * ed * and you can get new inventory ITM there.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -