Approve file without modifying Modified date and editor values using Client Object Model.
-
19 Februari 2012 11:10
Hi all,
http://social.technet.microsoft.com/Forums/ar/sharepoint2010programming/thread/b60495ee-29be-4aa0-935e-484abce6b9d2 explains how to approve a file using Client Object Model. Doing so, the 'modified date' and 'modified by' values gets changed (which is obvious).
But, I have a requirement to approve the File without changing those field values.
Can it be done?
If I first publish the file and then update the above-mentioned fields, then the version gets incremented, which is undesirable.
Thanks and Regards,
Arjabh
- Dipindahkan oleh Lhan HanModerator 21 Februari 2012 8:59 sp2010 (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
Semua Balasan
-
22 Februari 2012 19:54
Instead using ListItem.Update use ListItem.SystemUpdate
Pradeep
-
23 Februari 2012 11:19
Microsoft.SharePoint.Client.ListItem does not have SystemUpdate function
(http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.listitem_members.aspx)
Thanks and Regards,
Arjabh -
23 Februari 2012 15:24
Hi,
you dont have any functionality like .SystemUpdate in Client object model instead i could suggest to make you own service which could do the .SystemUpdate for you
Abhijeet S. Thorat ================== If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you.
- Ditandai sebagai Jawaban oleh Lhan HanModerator 04 Maret 2012 9:22