8

Is there a way we can identify in the item updated event that the document(File) associated with the item is updated or not?

Thanks, Mallikarjun

Raju Joshi
  • 190
  • 1
  • 2
  • 18
mallialways
  • 153
  • 8
  • I am not sure it is completly clear what you want. I guess you have a class inheriting from `SPItemEventReceiver` and have overwritte it's `ItemUpdated` method. And you wan't to find out whether the file itself has been overwritten? – Markus Safar Nov 27 '15 at 18:00

1 Answers1

1

how about comparing Created Date and Updated Date fields if same or not?

or you can compare with last version;

SPListItemVersionCollection oVersionInfo = oListItem.Versions;

Mert
  • 6,432
  • 6
  • 32
  • 68