New answers tagged updatelistitems
I used SPItemEventProperties.AfterProperties instead of inner SPListItem and it worked fine. Thanks for reply. I'l try to set Synchronous and check if it help.
There was something to activate on the server, here is the reference http://social.technet.microsoft.com/wiki/contents/articles/4607.sharepoint-2010-workflows-on-incoming-emails-in-sharepoint-documents-library.aspx stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true
By Microsoft design, folders requires Delete permission, this is due to the WEBDAV behavior. You can read more on this link. For regular custom list (without folder), delete may be omitted.
In order to modify/update the Author field using the client object model, you need to make sure to Load the Source Item Load the User Object with Source Context Ensure the User Object in the Destination Context Insert the User Object in the Destination Item Update the Destination Item Please find below the pseudo code. sourceCtx.Load(sourceItem); ...
Use Web.EnsureUser method to get the User object and then use that to update the Author https://msdn.microsoft.com/EN-US/library/microsoft.sharepoint.client.web.ensureuser.aspx
Top 50 recent answers are included