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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -