I am trying to set the Approved column for a doc library item via CSOM but can't seem to ge the update to reflect the changes. I tried checking in/out the item and getting an instance of the item itself but nothing changes. The item is still pending. The running account has both FULL and Approve permissions. Any idea why?
Dim tvItem As ClientOM.File = list.GetItemById(txtID.Text).File ctx.Load(tvItem) ctx.ExecuteQuery() tvItem.ListItemAllFields("_ModerationStatus") = 0 tvItem.ListItemAllFields("_ModerationComments") = txtComments.Text ctx.ExecuteQuery()Thanks!