SharePoint 2010 - Client Object Model -- Approve File -
Does anyone know what the replacement for the SPFile.Approve () method in the client object model is? This method is not in class Microsoft.SharePoint.Client.File.
try this:
item.set_item ('_moderation status) ', 0); Item.update (); Context.load (item); Context.executeQueryAsync (Success Function, Failure Function);
It works for me in a simple scenario.
Comments
Post a Comment