The SharePoint Server API has 2 solutions for this, in our SPListItem object (MSDN quote):
- UpdateOverwriteVersion(): updates the current list item without creating another version of the item.
- SystemUpdate(): updates the database with changes made to the list item without changing the Modified or Modified By fields.When you call the SystemUpdate method, events are triggered and the modifications are reported in the Change and Audit logs, but alerts are not sent and properties are not demoted into documents.
From other information I could collect, SystemUpdate() may be very useful to use in custom workflow actions where the Update() would make the workflow call itself recursively.
No comments:
Post a Comment