Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to have the SystemUpdate functionality from the Client Object Model. Is there any way I can do it since the ListItem.SystemUpdate() does not exist.

Another solution would be to disable the EventReceiver on the list, but I don't know how to do that neither.

Thanks

share|improve this question
    
The SPListItem.SystemUpdate method is in the Microsoft.SharePoint namespace and in the Core Class library - not sure what you mean by "ListItem.SystemUpdate() does not exist." Could you please clarify? Thanks. –  Supriyo SB Chatterjee Feb 14 '12 at 20:54
    
He's talking about Microsoft.SharePoint.Client.ListItem –  Louis Feb 14 '12 at 21:25
    
aah.. misread it.. –  Supriyo SB Chatterjee Feb 14 '12 at 22:13
add comment

1 Answer 1

up vote 6 down vote accepted

Client Object Model have the limitations with regards to the way a List Item Update works. More specifically there is no SystemUpdate() type functionality available in Client Object Model, like in the 'full' SharePoint Object Model.

If you really want to develop his functionality, then write your own custom web service that updates the document metadata using SystemUpdate so a new version isn't created and deploy it to your SharePoint Server.

share|improve this answer
    
Once again the ClientObjectModel has failed me :(. Thanks for the answer. But is there a way to Deactivate the Event Receiver then? –  danbord Feb 15 '12 at 12:32
    
do you just want to disable the EventReceiver on the list using Client object model? –  Falak Mahmood Feb 15 '12 at 13:39
    
Yes, but I have to do it throught the Client OM –  danbord Feb 15 '12 at 17:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.