SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a scenario where I have a list with 1 unique field and about 25 other fields making up the rest of the list.

When I do an update on the list item. I would like to only update the item if something has changed. Is there a way to get a hash for the list item so I can test the hash, rather than having to update each and every time.

I guess I could do this using string concatenation of the field values, but is there a more elegant solution?

share|improve this question

Why not check the Last Modified Date?

If that's not sufficient you have to make your own hash of the object, perhaps using the SPListItem.Xml property.

share|improve this answer

Your Answer


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.