Forum Discussion
cristinadulau
Feb 28, 2023Copper Contributor
Updating Editor field on SharePoint Online using the CSOM with App Only Auth
I have the following issue. I work with CSOM and I want to update the Author and Editor field on a List Item object. The actual problem is that the Editor is not updated and the value is set to t...
cristinadulau
Mar 01, 2023Copper Contributor
Hi SvenSieverding ,
Thank you for your response.
The signature of the ValidateUpdateListItem is the following one:
public IList<ListItemFormUpdateValue> ValidateUpdateListItem(IList<ListItemFormUpdateValue> formValues, bool bNewDocumentUpdate, string checkInComment);
When I am using it, I set the second parameter to true, but it still doesn't work.
I searched for SystemUpdate, but I cannot find it on Microsoft.SharePoint.Client.ListItem class.
Best regards,
Cristina
João Miguel
Nov 21, 2023Copper Contributor
Did you managed to find the solution?
In my case the code works fine on a list but it doesn't work for another list similar to the first one.
PS: Found the culprit. The app didn't had full control.