mallialways
mallialways

Reputation: 153

How to identify actual file updated vs item properties update in the SharePoint item updated event

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

Upvotes: 8

Views: 349

Answers (1)

Mert
Mert

Reputation: 6572

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

or you can compare with last version;

SPListItemVersionCollection oVersionInfo = oListItem.Versions;

Upvotes: 1

Related Questions