Contents
In order to modify/update the Author field using the client object model, you need to make sure to Please find below the pseudo code.
How to update created, created by, modified by in list items using CSOM?
How to update Created, Created By, Modified and Modified By in list items using CSOM? Please find the code to update Created, Created By, Modified, Modified By using CSOM. Thanks for contributing an answer to SharePoint Stack Exchange!
How to update author and editor at the same time?
Update Author and Editor at the same time for the first version only or Final file without versions. 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
How to update createdby in CSOM SharePoint Online?
I need to update the CreatedBy (Author) field using CSOM Powershell Sharepoint Online. But this is not updating .I have given mailid to EnsureUser () method because I have only mailId of the user. can anyone help me with correct solution.
SharePoint (as expected) is using the workflow user as the creator. One of the fields in the list item is the contact for that list item. I’ve been able to manually update the author field (see How to Update “Created By” column through workflow? ), but cannot get the same behavior through workflow.
The list item is being created by a separate workflow. SharePoint (as expected) is using the workflow user as the creator. One of the fields in the list item is the contact for that list item.
How to update user object in SharePoint Stack Exchange?
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 Thanks for contributing an answer to SharePoint Stack Exchange! Please be sure to answer the question.