In an application I'm working on, I'm interacting with SharePoint (2010) via the .NET Client-Side Object Model, and am trying to account for a large number of possible configurations of document libraries.
In the instance that a document library has content approval enabled, if I create a new
Folder object, the approval status applies to this
ListItem as well:
How can I get a reference to the
ListItem that is the newly created
I need to set this value to
SPModerationStatusType.Approved programmatically when I create a new folder, but can't find a way to modify the fields of the
ListItem given that I only have a
I want to get a
ListItem object so I can do something like this:
For SharePoint 2013, they've apparently taken this into consideration and have added a
Folder.ListItemAllFields property which would be exactly what I need here, but this property is unavailable to the 2010 CSOM.