Thursday, March 16, 2017

DIFFERENCE BETWEEN ITEM.UPDATE() VS SYSTEM.UPDATE() VS UPDATE.OVERWRITEVERSION() IN SHAREPOINT LIST UPDATE VS SYTEMUPDATE(BOOLEAN)

DIFFERENCE BASE
ITEM.UPDATE()
SYSTEMUPDATE()
UPDATEOVERWRITEVERSION()
SYSTEMUPDATE (BOOLEAN)
Item Version
Item.Update() creates automatically new version of list item as Update
No new version.
Updates the item but does not create a new version
true to increment the item version; otherwise, false.
“Modified” and “Modified by”  Fields
Updates the “Modified” and “Modified by” values.
No changes in the “Modified” and “Modified By” fields.
Updates the “Modified” and “Modified by” values.
No changes in the “Modified” and “Modified By” fields.

No comments:

Post a Comment