Itemupdating update

Rated 4.41/5 based on 576 customer reviews

But that option exists to be used, and some people really do need it.

If you find yourself in this situation, then you’ll have to solve the problem in code.

Each event method has a SPItem Event Properties parameter named properties.

If you wish to modify a property value on the list item during the event, the value should be updated in After Properties property of the properties parameter.

The second time they fire it is in response to the document being checked in.

It appears as though they are firing twice in this situation because Share Point is updating the properties on the document and then checking it in on the same request.

I'm sure it's a simple thing but it just stays in "Edit" mode even after a successful update.

I have to click "Cancel" to get back to the View Template. This has to be me just missing something amazingly simple. Amy , I would suggest you to review the online demo below that demonstrates the required functionality: it a test and see if it works for you.

The first time the Item Updating and Item Updated events fire it is in response to the document properties changing.This is not either issue with Share Point or issue with Custom Code.So the net result of this is that the document is uploaded and the Item Adding and Item Added events have fired, which is pretty much what you would expect.In case this is not happening for your application this means that there are some issue in the logic you are using.It will be best if you can send us your page markup as well as the related code behind so that we can revise this logic and advise you further.

Leave a Reply