Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, after creating a list item in sharepoint task list it is sending mail to creator and assigned to person, After item created through C# CSOM i am trying to update the item fields and also updating the Editor and Author fields. After successfully running program i am able to see the created by and modified by fields are updated. After task list item updated mail is sending. But in the mail content the created by field at the header section not able to update.

Please help me to solve this problem.

Please find the attached screenshots.

What I have tried:

ListItem _ToUpdateEditfld = _UpdateEditorFld[0];
_ToUpdateEditfld["Author"] = clientContext.Web.EnsureUser((usrmodifer).Title);//
_ToUpdateEditfld["Editor"] = clientContext.Web.EnsureUser((usrmodifer).Title);//
_ToUpdateEditfld["Comments"] = "";
Posted
Comments
Member 9926685 4-Aug-17 5:18am    
I am not able to see your screenshot. Can you verify?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900